9 lines
288 B
Desktop File
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
|