1
0
Fork 0
mirror of synced 2024-11-25 11:35:37 -05:00
garuda-common-settings/usr/lib/systemd/system/garuda-pacman-snapshot-reject.service

9 lines
288 B
Desktop File

[Unit]
Description=Optimizing pacman hooks
[Service]
Type=oneshot
ExecStart=bash -c "if /usr/lib/garuda/is-snapshot-boot; then rm -f /etc/pacman.d/hooks/01-snapshot-reject.hook; else ln -fs /dev/null /etc/pacman.d/hooks/01-snapshot-reject.hook; fi"
[Install]
WantedBy=multi-user.target