* Under Linux, data directory is '~/.mmgen'; config file is 'mmgen.cfg'. * If default wallet is enabled, specifying the wallet on the command line is no longer necessary. If not, all MMGen commands behave as previously. * The datadir structure mirrors that of Bitcoin Core: mainnet and testnet share a common config file, but testnet puts its other files including its default wallet in a separate subdirectory 'testnet3'. New routines have been added to the test suite to test these features. Tested only under Linux.
9 lines
185 B
Bash
Executable file
9 lines
185 B
Bash
Executable file
#!/bin/bash
|
|
|
|
CMD='rm -rf /usr/local/share/mmgen /usr/local/bin/mmgen-* /usr/local/lib/python2.7/dist-packages/mmgen*'
|
|
|
|
if [ "$EUID" = 0 ]; then
|
|
set -x; $CMD
|
|
else
|
|
set -x; sudo $CMD
|
|
fi
|