updated updater fix
This commit is contained in:
parent
489195425d
commit
ba8b940a38
@ -14,9 +14,8 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
|
||||
exit 1
|
||||
|
||||
else
|
||||
|
||||
|
||||
if ! ssh root@localhost 'flatpak update -y' |
|
||||
if ! ssh root@localhost 'flatpak update -y |
|
||||
|
||||
zenity --progress \
|
||||
--no-cancel \
|
||||
@ -24,16 +23,15 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
|
||||
--pulsate \
|
||||
--width=500 \
|
||||
--text="Updating Flatpaks" \
|
||||
--title="Sovran_SystemsOS Updater"; then
|
||||
--title="Sovran_SystemsOS Updater"'; then
|
||||
|
||||
echo "Could Not Update Flatpaks -- Exiting" |
|
||||
|
||||
zenity --text-info \
|
||||
--title="Sovran_SystemsOS Updater" \
|
||||
--width=500 \
|
||||
|
||||
--width=400 \
|
||||
--title="Sovran_SystemsOS Updater"
|
||||
exit 1
|
||||
|
||||
|
||||
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
|
||||
@ -41,10 +39,10 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
|
||||
echo "Could Not Update Sovran_SystemsOS -- Exiting" |
|
||||
|
||||
zenity --text-info \
|
||||
--title="Sovran_SystemsOS Updater" \
|
||||
--width=500 \
|
||||
|
||||
exit 1
|
||||
--width=400 \
|
||||
--title="Sovran_SystemsOS Updater"
|
||||
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user