From 0af56408e2b30c8869016436c39ae254b304713c Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 26 Dec 2021 00:35:13 -0600 Subject: [PATCH] Remove repo if auto installed from install.bash --- install.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.bash b/install.bash index e7f97b9..a115052 100755 --- a/install.bash +++ b/install.bash @@ -56,6 +56,9 @@ echo "export PATH=\${PATH}:/usr/local/bin" >> "${SDTD_USER_HOME}/.bash_profile" # Ensure the completions are being sourced echo "source ~/.bin/7D2D-Manage-Completion" >> "${SDTD_USER_HOME}/.bash_profile" +echo "Cleaning up ${GIT_DIR}" +rm -rf "${GIT_DIR}" + echo "Finished with installation." echo "To try it out as the user paste the following:" echo "su ${SDTD_USER_NAME} && cd ${HOME} && source .bash_profile && 7D2D-Manage -h"