8 lines
732 B
Bash
Executable File
8 lines
732 B
Bash
Executable File
#!/bin/bash
|
|
# Update module script by Gianmarco Gargiulo (licensed under GPL v3)
|
|
|
|
ICON_SUCCESS=/usr/share/icons/breeze/status/64/dialog-positive.svg
|
|
|
|
ICON_FAILURE=/usr/share/icons/breeze/status/64/dialog-error.svg
|
|
|
|
echo "Inizio l'aggiornamento del sistema..." && sudo timeshift --delete-all && sudo timeshift --create && yay -Syu --noconfirm && echo "Aggiornamento completato. Puoi chiudere questa finestra." && notify-send "Aggiornamento completato" "Il sistema è stato aggiornato." -a Aggiornamenti -i $ICON_SUCCESS || echo "Si è verificato un errore durante l'aggiornamento." || notify-send "Aggiornamento fallito" "Si è verificato un errore durante l'aggiornamento. Controlla il terminale." -a Aggiornamenti -i $ICON_FAILURE; |