2022-04-06 14:02:50 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Optimizing pacman hooks
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2022-04-25 14:43:42 -04:00
|
|
|
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"
|
2022-04-06 14:02:50 -04:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|