added new external backup app and update other apps
This commit is contained in:
@ -14,7 +14,14 @@ fi
|
||||
}
|
||||
|
||||
SPICE () {
|
||||
if ! xterm -T "Sovran_SystemsOS_Light Updater" -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
|
||||
|
||||
time_stamp=$(date +%Y-%m-%d-%T)
|
||||
|
||||
mkdir -p /home/free/Documents/Updater_App_Logs
|
||||
|
||||
find /home/free/Documents/Updater_App_Logs -name "*.txt" -type f -mtime +5 -delete
|
||||
|
||||
if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then
|
||||
|
||||
zenity --error \
|
||||
--width=500 \
|
||||
|
Reference in New Issue
Block a user