From 617647c56382364b4a8dfa82c8789da89d3437ca Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 15 Jul 2023 11:05:25 -0700 Subject: [PATCH] updated updater and rester --- .../sovran_systemsOS_reseter_install.sh | 20 +++++++++++-------- .../sovran_systemsOS_updater_install.sh | 18 +++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/Sovran_SystemsOS_Reseter/sovran_systemsOS_reseter_local_installer/sovran_systemsOS_reseter_install.sh b/Sovran_SystemsOS_Reseter/sovran_systemsOS_reseter_local_installer/sovran_systemsOS_reseter_install.sh index d541f98..beb214b 100755 --- a/Sovran_SystemsOS_Reseter/sovran_systemsOS_reseter_local_installer/sovran_systemsOS_reseter_install.sh +++ b/Sovran_SystemsOS_Reseter/sovran_systemsOS_reseter_local_installer/sovran_systemsOS_reseter_install.sh @@ -2,23 +2,27 @@ pushd ~/Downloads - sudo -u free wget https://git.sovransystems.com/Sovran_Systems/Software/archive/main.zip + wget https://git.sovransystems.com/Sovran_Systems/Software/archive/main.zip - sudo -u free unzip main.zip + unzip main.zip popd -sudo -u free mkdir -p /home/free/.Sovran_Systems +mkdir -p /home/free/.Sovran_Systems -sudo -u free mkdir -p /home/free/.local/share/applications/ +mkdir -p /home/free/.local/share/applications/ -sudo -u free mv "/home/free/Downloads/software/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/localscript_to_remote_reseter.sh" /home/free/.Sovran_Systems/ +chown free:users /home/free/ -R -sudo -u free mv "/home/free/Downloads/software/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Icon_Reseter/" /home/free/.Sovran_Systems/ +mv "/home/free/Downloads/software/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/localscript_to_remote_reseter.sh" /home/free/.Sovran_Systems/ -sudo -u free mv "/home/free/Downloads/software/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Reseter.desktop" /home/free/.local/share/applications/ +mv "/home/free/Downloads/software/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Icon_Reseter/" /home/free/.Sovran_Systems/ -chmod 770 /home/free/.Sovran_Systems/localscript_to_remote_reseter.sh +mv "/home/free/Downloads/software/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Reseter.desktop" /home/free/.local/share/applications/ + +chown free:users /home/free -R + +chmod 770 /home/free -R rm -rf /home/free/Downloads/software diff --git a/Sovran_SystemsOS_Updater/sovran_systemsOS_updater_local_installer/sovran_systemsOS_updater_install.sh b/Sovran_SystemsOS_Updater/sovran_systemsOS_updater_local_installer/sovran_systemsOS_updater_install.sh index 5407c5e..1795d53 100755 --- a/Sovran_SystemsOS_Updater/sovran_systemsOS_updater_local_installer/sovran_systemsOS_updater_install.sh +++ b/Sovran_SystemsOS_Updater/sovran_systemsOS_updater_local_installer/sovran_systemsOS_updater_install.sh @@ -2,23 +2,25 @@ pushd ~/Downloads - sudo -u free wget https://git.sovransystems.com/Sovran_Systems/Software/archive/main.zip + wget https://git.sovransystems.com/Sovran_Systems/Software/archive/main.zip - sudo -u free unzip main.zip + unzip main.zip popd -sudo -u free mkdir -p /home/free/.Sovran_Systems +mkdir -p /home/free/.Sovran_Systems -sudo -u free mkdir -p /home/free/.local/share/applications/ +mkdir -p /home/free/.local/share/applications/ -sudo -u free mv "/home/free/Downloads/software/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/.Sovran_Systems/localscript_to_remote_updater.sh" /home/free/.Sovran_Systems/ +mv "/home/free/Downloads/software/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/.Sovran_Systems/localscript_to_remote_updater.sh" /home/free/.Sovran_Systems/ -sudo -u free mv "/home/free/Downloads/software/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/.Sovran_Systems/Icon" /home/free/.Sovran_Systems/ +mv "/home/free/Downloads/software/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/.Sovran_Systems/Icon" /home/free/.Sovran_Systems/ -sudo -u free mv "/home/free/Downloads/software/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/Sovran_SystemsOS_Updater.desktop" /home/free/.local/share/applications/ +mv "/home/free/Downloads/software/Sovran_SystemsOS_Updater/To Install on Local Sovarn Pros/Sovran_SystemsOS_Updater.desktop" /home/free/.local/share/applications/ -chmod 770 /home/free/.Sovran_Systems/localscript_to_remote_updater.sh +chown free:users /home/free -R + +chmod 770 /home/free -R rm -rf /home/free/Downloads/software