From: Ian Kelling Date: Wed, 1 Mar 2023 22:08:04 +0000 (-0500) Subject: fix X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=55d37e930d1cd5b3b9800d33dc62f282050899e9;p=distro-setup fix --- diff --git a/distro-end b/distro-end index 6b49f9b..2970028 100755 --- a/distro-end +++ b/distro-end @@ -2166,7 +2166,10 @@ case $HOSTNAME in sudo install -m 0755 -o root -g root -t /usr/bin /a/opt/bitcoin-23.0/bin/* sgo bitcoind sudo usermod -a -G bitcoin iank - sudo ln -s /q/wallets /var/lib/bitcoind + if [[ ! $(readlink -f /var/lib/bitcoind/wallets) == /q/wallets ]]; then + sudo lnf /q/wallets /var/lib/bitcoind + sudo chown -h bitcoin:bitcoin /var/lib/bitcoind/wallets + fi # note, there exists # /a/bin/ds/disabled/bitcoin ;;