updated updater fix

This commit is contained in:
naturallaw77 2023-12-04 00:33:49 -08:00
parent 489195425d
commit ba8b940a38

View File

@ -14,9 +14,8 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
exit 1 exit 1
else else
if ! ssh root@localhost 'flatpak update -y' | if ! ssh root@localhost 'flatpak update -y |
zenity --progress \ zenity --progress \
--no-cancel \ --no-cancel \
@ -24,16 +23,15 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
--pulsate \ --pulsate \
--width=500 \ --width=500 \
--text="Updating Flatpaks" \ --text="Updating Flatpaks" \
--title="Sovran_SystemsOS Updater"; then --title="Sovran_SystemsOS Updater"'; then
echo "Could Not Update Flatpaks -- Exiting" | echo "Could Not Update Flatpaks -- Exiting" |
zenity --text-info \ zenity --text-info \
--title="Sovran_SystemsOS Updater" \ --width=400 \
--width=500 \ --title="Sovran_SystemsOS Updater"
exit 1 exit 1
fi fi
if ! 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'"; then if ! 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'"; then
@ -41,10 +39,10 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
echo "Could Not Update Sovran_SystemsOS -- Exiting" | echo "Could Not Update Sovran_SystemsOS -- Exiting" |
zenity --text-info \ zenity --text-info \
--title="Sovran_SystemsOS Updater" \ --width=400 \
--width=500 \ --title="Sovran_SystemsOS Updater"
exit 1 exit 1
fi fi