use is-snapshot-boot
This commit is contained in:
parent
a35e52d8dd
commit
3bee321867
2 changed files with 2 additions and 2 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue