diff --git a/kmd/linux/verus-cli/README.txt b/kmd/linux/verus-cli/README.txt index 303105448..94abcea45 100644 --- a/kmd/linux/verus-cli/README.txt +++ b/kmd/linux/verus-cli/README.txt @@ -4,6 +4,7 @@ komodod - VerusCoin's enhanced Komodo daemon komodo-cli - VerusCoin's Komodo command line utility verus - wrapper for komodo-cli that applies the command to the VRSC coin verusd - wrapper for komodod that sets the VerusCoin parameters to defaults properly +update-verus-agama.sh - script to update an existing VerusCoin enhanced Agama wallet install with this version of komodod. To update run the script and pass the path to the wallet on the command line: ./update-verus-agama.sh ~/Downloads/Agama-linux-x64 The first time on a new system you will need to run ./fetchparams.sh before using komodod or verusd. On Ubuntu 18 systems you will need to run these two commands before running the command line tools: diff --git a/kmd/linux/verus-cli/update-verus-agama.sh b/kmd/linux/verus-cli/update-verus-agama.sh new file mode 100755 index 000000000..a249e24f5 --- /dev/null +++ b/kmd/linux/verus-cli/update-verus-agama.sh @@ -0,0 +1,28 @@ +#!/bin/bash +if [ $# -eq 0 ] + then + echo "Usage: ./update-verus-agama.sh path/to/agama/directory." + echo "No arguments supplied, no updates applied." + exit 1 +fi + +PASSED=$1 + +if [ -d "${PASSED}" ] ; then + if [ -f "${PASSED}/komodod" ] ; then + cp komodod ${PASSED} + cp komodo-cli ${PASSED} + exit 0 + else + echo "No komodod found in ${PASSED}" + echo "Copying komodod and komodo-cli anyway" + cp komodod ${PASSED} + cp komodo-cli ${PASSED} + exit 0 + fi +else + echo "Pass the Agama-darwin-x64 directory on the command line." + echo "${PASSED} is not a valid directory."; + exit 1 +fi + diff --git a/kmd/mac/verus-cli/README.txt b/kmd/mac/verus-cli/README.txt index 2028fb3c7..dd444e2df 100644 --- a/kmd/mac/verus-cli/README.txt +++ b/kmd/mac/verus-cli/README.txt @@ -6,8 +6,10 @@ komodo-cli - VerusCoin's enhanced Komodo command line utility. verus - wrapper for komodo-cli that applies the command to the VRSC coin verusd - wrapper for komodod that sets the VerusCoin parameters to defaults properly fetch_params.sh - utility to download the zcash parameters needed to start the VerusCoin command line tools and scripts +update-verus-agama.sh - script to update an existing VerusCoin enhanced Agama wallet install with this version of komodod. To update run the script and pass the path to the wallet on the command line: ./update-verus-agama.sh ~/Downloads/Agama-darwin-x64 Command line tools are run from the terminal. You can launch the terminal on a Mac by using the Finder, selecting Applications and from that select Utilities, finally selecting Terminal from the Utilities folder. + Change to the directory you extraced the verus-cli into in the terminal cd ~/Downloads/verus-cli For example, if you extracted it directly in the Downloads directory. diff --git a/kmd/mac/verus-cli/update-verus-agama.sh b/kmd/mac/verus-cli/update-verus-agama.sh new file mode 100755 index 000000000..a249e24f5 --- /dev/null +++ b/kmd/mac/verus-cli/update-verus-agama.sh @@ -0,0 +1,28 @@ +#!/bin/bash +if [ $# -eq 0 ] + then + echo "Usage: ./update-verus-agama.sh path/to/agama/directory." + echo "No arguments supplied, no updates applied." + exit 1 +fi + +PASSED=$1 + +if [ -d "${PASSED}" ] ; then + if [ -f "${PASSED}/komodod" ] ; then + cp komodod ${PASSED} + cp komodo-cli ${PASSED} + exit 0 + else + echo "No komodod found in ${PASSED}" + echo "Copying komodod and komodo-cli anyway" + cp komodod ${PASSED} + cp komodo-cli ${PASSED} + exit 0 + fi +else + echo "Pass the Agama-darwin-x64 directory on the command line." + echo "${PASSED} is not a valid directory."; + exit 1 +fi +