updated scripts and removed files
This commit is contained in:
parent
be83597c59
commit
158be3d75d
@ -471,13 +471,12 @@ zenity --error \
|
||||
--ellipsize \
|
||||
--no-wrap \
|
||||
--title="Sovran_SystemsOS_Reseter" \
|
||||
--text="Could Create Final Reseter Tag"
|
||||
--text="Could Not Create Final Reseter Tag"
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
|
||||
#### FINAL DIALOG POPUP ####
|
||||
|
||||
zenity --info \
|
||||
@ -486,4 +485,26 @@ zenity --info \
|
||||
--title="Sovran_SystemsOS_Reseter" \
|
||||
--text="All Done! All Passwords Are Reset."
|
||||
|
||||
|
||||
|
||||
#### Remove Reseter App ####
|
||||
|
||||
rm -rf /home/free/.Sovran_Systems/localscript_to_remote_reseter.sh
|
||||
|
||||
rm -rf /home/free/.Sovran_Systems/Icon_Reseter
|
||||
|
||||
rm -rf /home/free/.local/share/applications/Sovran_SystemsOS_Reseter.desktop
|
||||
|
||||
|
||||
if [[ $? != 0 ]]; then
|
||||
|
||||
zenity --error \
|
||||
--ellipsize \
|
||||
--no-wrap \
|
||||
--title="Sovran_SystemsOS_Reseter" \
|
||||
--text="Could Not Remove Reseter App"
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.9 KiB |
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Name=Sovran_SystemsOS Updater
|
||||
Exec=/home/free/.Sovran_Systems/localscript_to_remote_reseter.sh
|
||||
Icon=/home/free/.Sovran_Systems/Icon_Reseter/Sovran_SystemsOS_Reseter_Iconv3.svg
|
@ -1,7 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Name=Sovran_SystemsOS Updater
|
||||
Exec=/home/free/.Sovran_Systems/localscript_to_remote_updater.sh
|
||||
Icon=/home/free/.Sovran_Systems/Icon/Sovran_SystemsOS_Updater_Iconv3.svg
|
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pushd ~/Downloads
|
||||
|
||||
wget https://git.sovransystems.com/Sovran_Systems/Software/archive/main.zip
|
||||
|
||||
unzip main.zip
|
||||
|
||||
popd
|
||||
|
||||
mkdir ~/.Sovran_Systems
|
||||
|
||||
mv "/home/free/Downloads/packages/Sovran_SystemsOS_Reseter/To Install on Local Sovarn Pros/localscript_to_remote_reseter.sh" /home/free/.Sovran_Systems/
|
||||
|
||||
mv "/home/free/Downloads/packages/Sovran_SystemsOS_Reseter/To Install on Local Sovarn Pros/Icon_Reseter" /home/free/.Sovran_Systems/
|
||||
|
||||
mv "/home/free/Downloads/packages/Sovran_SystemsOS_Reseter/To Install on Local Sovarn Pros/Sovran_SystemsOS_Reseter.desktop" /home/free/.local/share/applications/
|
||||
|
||||
chmod 770 /home/free/.Sovran_Systems/localscript_to_remote_reseter.sh
|
||||
|
||||
rm -rf /home/free/Downloads/main.zip
|
||||
|
||||
rm -rf /home/free/Downloads/packages
|
||||
|
||||
exit
|
Loading…
Reference in New Issue
Block a user