updated updater source
This commit is contained in:
parent
956f9a51e1
commit
b3a334e68f
@ -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" |
|
curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" |
|
||||||
|
|
||||||
zenity --text-info \
|
zenity --text-info \
|
||||||
--title="Sovran_SystemsOS Updater" \
|
--title="Sovran_SystemsOS Updater" \
|
||||||
--width=1000 \
|
--width=1000 \
|
||||||
--height=700
|
--height=700
|
||||||
|
|
||||||
if [[ $? -eq 1 ]]; then
|
if [[ $? -eq 1 ]]; then
|
||||||
|
|
||||||
@ -17,13 +17,18 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
|
|||||||
|
|
||||||
else
|
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
|
if [[ $? != 0 ]]; then
|
||||||
|
|
||||||
echo "Could Not Update Flake -- Exiting" |
|
echo "Could Not Update Flake -- Exiting" |
|
||||||
|
|
||||||
zenity --text-info \
|
zenity --text-info \
|
||||||
--title="Sovran_SystemsOS Updater" \
|
--title="Sovran_SystemsOS Updater" \
|
||||||
@ -44,7 +49,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
|
|||||||
|
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
|
|
||||||
echo "Could Not Update Sovran_SystemsOS -- Exiting" |
|
echo "Could Not Update Sovran_SystemsOS -- Exiting" |
|
||||||
|
|
||||||
zenity --text-info \
|
zenity --text-info \
|
||||||
--title="Sovran_SystemsOS Updater" \
|
--title="Sovran_SystemsOS Updater" \
|
||||||
@ -61,6 +66,6 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
|
|||||||
--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."
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
Loading…
Reference in New Issue
Block a user