updated updater script
This commit is contained in:
parent
c457151d5c
commit
25cdd7a931
@ -15,6 +15,7 @@ fi
|
||||
|
||||
}
|
||||
|
||||
|
||||
SPICE-FLAKE () {
|
||||
|
||||
time_stamp=$(date +%Y-%m-%d-%T)
|
||||
@ -25,6 +26,7 @@ ssh root@localhost "cd /etc/nixos && nix flake update 2>&1 | tee /home/free/Docu
|
||||
|
||||
}
|
||||
|
||||
|
||||
TACO-FLAKE () {
|
||||
|
||||
pushd /home/free/Documents/Updater_App_Logs
|
||||
@ -46,6 +48,30 @@ popd
|
||||
|
||||
}
|
||||
|
||||
PANCAKE-FLAKE () {
|
||||
|
||||
pushd /home/free/Documents/Updater_App_Logs
|
||||
|
||||
file=$(ls -Art | tail -n 1)
|
||||
|
||||
if ! grep -w "updating" $file ; then
|
||||
|
||||
zenity --info \
|
||||
--ellipsize \
|
||||
--no-wrap \
|
||||
--width=700 \
|
||||
--title="Sovran_SystemsOS_Updater" \
|
||||
--text="There are no updates at this time. Your Sovran Pro is up to date!"
|
||||
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
}
|
||||
|
||||
|
||||
SPICE () {
|
||||
|
||||
time_stamp=$(date +%Y-%m-%d-%T)
|
||||
@ -106,6 +132,8 @@ else
|
||||
|
||||
TACO-FLAKE
|
||||
|
||||
PANCAKE-FLAKE
|
||||
|
||||
SPICE | zenity --progress --no-cancel --auto-close --width=1050 --pulsate --text="Updating entire system now. In rare cases, it could take up to 3 hours. Go have some herbal tea and relax while the update is in progress." --title="Sovran_SystemsOS_Updater"
|
||||
|
||||
TACO
|
||||
|
Loading…
Reference in New Issue
Block a user