updated many files to make room for Sovran_SystemsOS_Light
This commit is contained in:
26
Sovran_SystemsOS_Light_Updater/Updater Source Files/Intro.md
Normal file
26
Sovran_SystemsOS_Light_Updater/Updater Source Files/Intro.md
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
Welcome to the Sovran_SystemsOS_Light Updater!
|
||||
|
||||
|
||||
This updater will run through a few stages. Sometimes, it could take up to 3 hours for it to finish. Be patient...
|
||||
|
||||
|
||||
When it is finished, a final pop up will state "Yay complete! Please reboot when you are ready."
|
||||
|
||||
|
||||
All updates come from these links:
|
||||
|
||||
https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS_Light
|
||||
|
||||
and
|
||||
|
||||
https://git.sovransystems.com/Sovran_Systems/Software
|
||||
|
||||
|
||||
Don't Trust, Verify!
|
||||
|
||||
|
||||
After you have checked that the software is safe from the links above, then click "OK."
|
||||
|
||||
|
||||
Enjoy!
|
@ -0,0 +1,64 @@
|
||||
!/usr/bin/env bash
|
||||
|
||||
FLATPAK () {
|
||||
if ! ssh root@localhost 'flatpak update -y' ; then
|
||||
|
||||
zenity --error \
|
||||
--title="Sovran_SystemsOS_Light Updater" \
|
||||
--text="Could Not Update Flatpaks."
|
||||
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
SPICE () {
|
||||
xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'"
|
||||
|
||||
if [[ $? != 1 ]] ; then
|
||||
|
||||
zenity --info \
|
||||
--ellipsize \
|
||||
--no-wrap \
|
||||
--width=700 \
|
||||
--title="Sovran_SystemsOS_Light Updater" \
|
||||
--text="Yay complete! Please reboot when you are ready."
|
||||
|
||||
exit 1
|
||||
|
||||
else
|
||||
|
||||
zenity --error \
|
||||
--width=700 \
|
||||
--title="Sovran_SystemsOS_Light Updater" \
|
||||
--text="Could not complete the update."
|
||||
|
||||
exit 2
|
||||
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
#########
|
||||
|
||||
curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Light_Updater/Updater%20Source%20Files/Intro.md" |
|
||||
|
||||
zenity --text-info \
|
||||
--width=1000 \
|
||||
--height=700 \
|
||||
--title="Sovran_SystemsOS_Light Updater"
|
||||
|
||||
if [[ $? -eq 1 ]]; then
|
||||
|
||||
exit 1
|
||||
|
||||
else
|
||||
|
||||
FLATPAK
|
||||
|
||||
SPICE | zenity --progress --no-cancel --auto-close --width=550 --pulsate --text="Updating now. In rare cases, it could take up to 3 hours. Please Be Patient..." ----title="Sovran_SystemsOS_Light Updater"
|
||||
|
||||
fi
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user