From 3bee321867c0534ee63ac443bd7c69676b93e101 Mon Sep 17 00:00:00 2001 From: TNE Date: Wed, 6 Apr 2022 20:28:45 +0200 Subject: [PATCH] use is-snapshot-boot --- PKGBUILD | 2 +- usr/lib/systemd/system/garuda-pacman-snapshot-reject.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 6254bee..a22f9fc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Librewish 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" diff --git a/usr/lib/systemd/system/garuda-pacman-snapshot-reject.service b/usr/lib/systemd/system/garuda-pacman-snapshot-reject.service index e98d3ed..0640fac 100644 --- a/usr/lib/systemd/system/garuda-pacman-snapshot-reject.service +++ b/usr/lib/systemd/system/garuda-pacman-snapshot-reject.service @@ -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