updated updater source

This commit is contained in:
naturallaw77 2023-06-19 12:54:55 -07:00
parent 956f9a51e1
commit b3a334e68f

View File

@ -6,10 +6,10 @@ ID=$(curl ifconfig.me)
curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" |
zenity --text-info \
--title="Sovran_SystemsOS Updater" \
--width=1000 \
--height=700
zenity --text-info \
--title="Sovran_SystemsOS Updater" \
--width=1000 \
--height=700
if [[ $? -eq 1 ]]; then
@ -17,13 +17,18 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
else
#id=$(curl ifconfig.me)
ssh -i /home/free/.ssh/sovranpro_login root@${ID} 'cd /etc/nixos; nix flake update' |
ssh -i /home/free/.ssh/sovranpro_login root@${ID} 'cd /etc/nixos; nix flake update'
zenity --progress \
--no-cancel \
--auto-close \
--pulsate \
--width=500 \
--title="Sovran_SystemsOS Updater"
if [[ $? != 0 ]]; then
echo "Could Not Update Flake -- Exiting" |
echo "Could Not Update Flake -- Exiting" |
zenity --text-info \
--title="Sovran_SystemsOS Updater" \
@ -44,7 +49,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
if [[ $? != 0 ]]; then
echo "Could Not Update Sovran_SystemsOS -- Exiting" |
echo "Could Not Update Sovran_SystemsOS -- Exiting" |
zenity --text-info \
--title="Sovran_SystemsOS Updater" \
@ -61,6 +66,6 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
--title="Sovran_SystemsOS Updater" \
--text="Yay Complete! Please Reboot When You Are Ready."
fi
fi
exit 0