use is-snapshot-boot

This commit is contained in:
TNE 2022-04-06 20:28:45 +02:00
parent a35e52d8dd
commit 3bee321867
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings
pkgver=2.6.0
pkgver=2.6.1
pkgrel=1
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"

View File

@ -3,7 +3,7 @@ Description=Optimizing pacman hooks
[Service]
Type=oneshot
ExecStart=bash -c "grep -qE 'subvol=@\/.snapshots\/[0-9]+\/snapshot' /proc/cmdline || mount --bind /dev/null /usr/share/libalpm/hooks/01-snapshot-reject.hook"
ExecStart=bash -c "/usr/lib/garuda/is-snapshot-boot || mount --bind /dev/null /usr/share/libalpm/hooks/01-snapshot-reject.hook"
[Install]
WantedBy=multi-user.target