From 16a07a002fccae2d1224f1c7e093e630f5e6fb14 Mon Sep 17 00:00:00 2001 From: mario4tier Date: Wed, 27 Nov 2024 01:03:22 -0500 Subject: [PATCH] uninstall script now remove bin/binaries --- uninstall.sh => uninstall | 14 ++++++++++++++ 1 file changed, 14 insertions(+) rename uninstall.sh => uninstall (91%) diff --git a/uninstall.sh b/uninstall similarity index 91% rename from uninstall.sh rename to uninstall index 6b7b413c..b6cb5205 100755 --- a/uninstall.sh +++ b/uninstall @@ -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