updated the Sovran_SystemsOS updater to squash some bugs
This commit is contained in:
parent
ed1cd95063
commit
b6a83db631
@ -4,6 +4,7 @@ FLATPAK () {
|
|||||||
if ! ssh root@localhost 'flatpak update -y' ; then
|
if ! ssh root@localhost 'flatpak update -y' ; then
|
||||||
|
|
||||||
zenity --error \
|
zenity --error \
|
||||||
|
--width=600 \
|
||||||
--title="Sovran_SystemsOS Updater" \
|
--title="Sovran_SystemsOS Updater" \
|
||||||
--text="Could Not Update Flatpaks."
|
--text="Could Not Update Flatpaks."
|
||||||
|
|
||||||
@ -21,7 +22,7 @@ if [[ $? != 1 ]] ; then
|
|||||||
zenity --info \
|
zenity --info \
|
||||||
--ellipsize \
|
--ellipsize \
|
||||||
--no-wrap \
|
--no-wrap \
|
||||||
--width=700 \
|
--width=600 \
|
||||||
--title="Sovran_SystemsOS Updater" \
|
--title="Sovran_SystemsOS Updater" \
|
||||||
--text="Yay complete! Please reboot when you are ready."
|
--text="Yay complete! Please reboot when you are ready."
|
||||||
|
|
||||||
@ -30,7 +31,7 @@ exit 1
|
|||||||
else
|
else
|
||||||
|
|
||||||
zenity --error \
|
zenity --error \
|
||||||
--width=700 \
|
--width=600 \
|
||||||
--title="Sovran_SystemsOS Updater" \
|
--title="Sovran_SystemsOS Updater" \
|
||||||
--text="Could not complete the update."
|
--text="Could not complete the update."
|
||||||
|
|
||||||
@ -46,7 +47,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
|
|||||||
|
|
||||||
zenity --text-info \
|
zenity --text-info \
|
||||||
--width=1000 \
|
--width=1000 \
|
||||||
--height=700 \
|
--height=800 \
|
||||||
--title="Sovran_SystemsOS Updater"
|
--title="Sovran_SystemsOS Updater"
|
||||||
|
|
||||||
if [[ $? -eq 1 ]]; then
|
if [[ $? -eq 1 ]]; then
|
||||||
@ -57,7 +58,7 @@ else
|
|||||||
|
|
||||||
FLATPAK
|
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 Updater"
|
SPICE | zenity --progress --no-cancel --auto-close --width=670 --pulsate --text="Updating now. In rare cases, it could take up to 3 hours. Please Be Patient..." --title="Sovran_SystemsOS Updater"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user