diff --git a/README.md b/README.md index d3167b4..6f19a97 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ * General Windows 10 and mobile security guide Install customscripts on linux with -`curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL" && bash /usr/share/customscripts/configure_webhook.sh` +`## curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL" && bash /usr/share/customscripts/configure_webhook.sh && exec "$SHELL"` ## Usage ### Linux diff --git a/customscripts/configure_webhook.sh b/customscripts/configure_webhook.sh index 19c3de4..6e80892 100644 --- a/customscripts/configure_webhook.sh +++ b/customscripts/configure_webhook.sh @@ -32,4 +32,4 @@ sudo chown -R $username:$username $finalDir echo -e "\nSetting perms of $finalDir and contents to 775" sudo chmod -R 775 $finalDir -echo -e "\n\nDone! Restart shell:\n\texec \"\$SHELL\"\n" +echo -e "\n\nDone! Restarting shell..." diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index 33be83f..8f4de05 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -1,6 +1,6 @@ #!/bin/bash # install with -## curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL" && bash /usr/share/customscripts/configure_webhook.sh +## curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh?nocache=$RANDOM | sudo "$SHELL" && bash /usr/share/customscripts/configure_webhook.sh && exec "$SHELL" # set -e # make sure da silly thing dont continue when there be errorZ gitRepo='https://github.com/PrincessPi3/general-scripts-and-system-ssssssetup.git'