Browse Source

fix btcpay-update

migrate-pregen
nicolas.dorier 7 years ago
parent
commit
0a2d7605ce
  1. 2
      btcpay-update.sh

2
btcpay-update.sh

@ -21,7 +21,7 @@ for scriptname in *.sh; do
fi fi
echo "Adding symlink of $scriptname to /usr/bin" echo "Adding symlink of $scriptname to /usr/bin"
chmod +x $scriptname chmod +x $scriptname
rm /usr/bin/$scriptname &> /dev/null [ -e /usr/bin/$scriptname ] && rm /usr/bin/$scriptname &> /dev/null
ln -s "$(pwd)/$scriptname" /usr/bin ln -s "$(pwd)/$scriptname" /usr/bin
done done

Loading…
Cancel
Save