diff --git a/customscripts/configure_webhook.sh b/customscripts/configure_webhook.sh index 98395ac..882cc2c 100644 --- a/customscripts/configure_webhook.sh +++ b/customscripts/configure_webhook.sh @@ -11,11 +11,11 @@ else fi # get webhook url -echo "Enter Discord Webhook URL" +echo -e "\nEnter Discord Webhook URL" read webhook_url # get tag -echo "Enter Tag to Notify" +echo -e "\nEnter Tag to Notify" read webhook_tag # write da files @@ -28,4 +28,6 @@ sudo chown -R $username:$username $finalDir # fix perms echo "Setting perms of $finalDir and contents to 775" -sudo chmod -R 775 $finalDir \ No newline at end of file +sudo chmod -R 775 $finalDir + +echo -e "\n\nDone! Restart shell:\n\texec \"\$SHELL\"\n" diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index 7ce8147..33be83f 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -7,11 +7,11 @@ gitRepo='https://github.com/PrincessPi3/general-scripts-and-system-ssssssetup.gi tmpDir='/tmp/customscripts' finalDir='/usr/share/customscripts' -echo "Updating software lists" -sudo apt update +# echo "Updating software lists" +# sudo apt update -echo "Installan my packages" -sudo apt install gh net-tools htop btop iptraf iotop screen byobu wget python3 python3-pip python3-virtualenv python3-setuptools thefuck nginx wget lynx neovim nmap -y +# echo "Installan my packages" +# sudo apt install gh net-tools htop btop iptraf iotop screen byobu wget python3 python3-pip python3-virtualenv python3-setuptools thefuck nginx wget lynx neovim nmap -y echo "Using Shell $SHELL" @@ -54,14 +54,6 @@ git clone $gitRepo $tmpDir --single-branch --depth 1 echo "Placing in $finalDir" sudo mv "$tmpDir/customscripts" "$finalDir" -# configure webhook -# echo "Enter Discord Webhook URL" -# read url -# echo "Enter Tag to Notify" -# read tag -# sudo bash -c "echo '$url' > $finalDir/webhook.txt" -# sudo bash -c "echo '$tag' > $finalDir/tag.txt" - # fix ownership echo "Changing ownership of $finalDir to $username:$username recursively" sudo chown -R $username:$username "$finalDir" @@ -83,6 +75,6 @@ fi # cleanup sudo rm -f $finalDir/install_script.sh -sudo apt autoremove -y +# sudo apt autoremove -y -echo -e "\n\nDone! Restart shell:\n\texec \"\$SHELL\"\n\n" \ No newline at end of file +echo "Done with first stage" \ No newline at end of file