From 3bd88ec5a23e9469129f6cdf8ba1a572938a50f1 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 1 Nov 2025 18:18:19 -0600 Subject: [PATCH] ibnstaller --- customscripts/install_script.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index 7ca17fc..131bd0f 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -2,7 +2,7 @@ # install with ## curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh | sudo "$SHELL" && bash /usr/share/customscripts/configure_webhook.sh && exec "$SHELL" # install with package install -## script=/tmp/install_script.sh && curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh > $script && chmod +x $script && sudo $SHELL -c "$script full" && $SHELL /usr/share/customscripts/configure_webhook.sh full && exec "$SHELL" +## script=/tmp/install_script.sh && curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/install_script.sh > $script && chmod +x $script && sudo $SHELL -c "$script full" && $SHELL /usr/share/customscripts/configure_webhook.sh full && 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' @@ -24,6 +24,8 @@ if [ ! -z "$1" ]; then sudo apt autoremove -y # echo "rebootan before run againnn (in 1 minute)" # sudo shutdown -r +1 +else + echo "skipping package install" fi # ta get da right usermayhaps @@ -53,23 +55,31 @@ fi if [ -f $finalDir/tag.txt ]; then echo "Found existing tag.txt, backing up" cp $finalDir/tag.txt /tmp/tag.txt +else + echo "no existing tag.txt, skipping backup of it" fi if [ -f $finalDir/webhook.txt ]; then -echo "Found existing webhook.txt, backing up" + echo "Found existing webhook.txt, backing up" cp $finalDir/webhook.txt /tmp/webhook.txt +else + echo "no existing webhook.txt, skipping backup of it" fi # clean up any exisiting repo dir if [[ -d "$tmpDir" ]]; then echo "Cleaning Up Existing $tmpDir" rm -rf "$tmpDir" +else + echo "$tmpDir not found, skipping deleting it" fi # clean up any existing install if [[ -d "$finalDir" ]]; then echo "Cleaning Up Existing $finalDir" rm -rf "$finalDir" +else + echo "$finalDir not found, will create" fi # ddownload repo