Skip to content

Commit

Permalink
uninstall script now remove bin/binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mario4tier committed Nov 27, 2024
1 parent 4a91cf9 commit 16a07a0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions uninstall.sh → uninstall
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,20 @@ else
uninstall "$HOME/.local/share"
fi

# Remove TA-Lib binary tools.
if [[ -f "./bin/gen_code" ]]; then
echo "Deleting ./bin/gen_code"
rm -f "./bin/gen_code"
UNINSTALLED=true
fi


if [[ -f "./bin/ta_regtest" ]]; then
echo "Deleting ./bin/ta_regtest"
rm -f "./bin/ta_regtest"
UNINSTALLED=true
fi

if [[ $UNINSTALLED == true ]]; then
echo "Uninstallation completed successfully!"
else
Expand Down

0 comments on commit 16a07a0

Please sign in to comment.