1
0

Remove unused tooling from setup

This commit is contained in:
nicolas.dorier
2019-01-27 16:12:30 +09:00
parent 9c15dfd42d
commit 5fac7d2f19
3 changed files with 52 additions and 22 deletions

View File

@@ -365,15 +365,8 @@ if [[ -f "$BTCPAY_HOST_SSHKEYFILE" ]]; then
docker cp "$BTCPAY_HOST_SSHKEYFILE" $(docker ps --filter "name=_btcpayserver_" -q):$BTCPAY_SSHKEYFILE
fi
cd "$BTCPAY_BASE_DIRECTORY/btcpayserver-docker"
. helpers.sh
install_tooling
cd $ORIGINAL_DIRECTORY
for scriptname in *.sh; do
if [ "$scriptname" == "build.sh" -o "$scriptname" == "build-pregen.sh" ] ; then
continue;
fi
echo "Adding symlink of $scriptname to /usr/bin"
chmod +x $scriptname
rm /usr/bin/$scriptname &> /dev/null
ln -s "$(pwd)/$scriptname" /usr/bin
done