fix: try to fix error on update on computer switch off
This commit is contained in:
@ -55,6 +55,12 @@ install -m 644 "$SCRIPT_DIR"/systemd/cachyos-updater.timer \
|
||||
install -m 644 "$SCRIPT_DIR"/systemd/cachyos-updater-shutdown.service \
|
||||
/usr/lib/systemd/system/cachyos-updater-shutdown.service
|
||||
|
||||
# Icône
|
||||
install -d /usr/share/icons/hicolor/scalable/apps
|
||||
install -m 644 "$SCRIPT_DIR"/data/cachyos-updater.svg \
|
||||
/usr/share/icons/hicolor/scalable/apps/cachyos-updater.svg
|
||||
gtk-update-icon-cache -f -t /usr/share/icons/hicolor &>/dev/null || true
|
||||
|
||||
# Fichier .desktop
|
||||
install -m 644 "$SCRIPT_DIR"/data/cachyos-updater.desktop \
|
||||
/usr/share/applications/cachyos-updater.desktop
|
||||
|
||||
Reference in New Issue
Block a user