summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonsystemd/opentmpfiles/PKGBUILD2
-rw-r--r--nonsystemd/opentmpfiles/chattr-ignore-nocow.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/nonsystemd/opentmpfiles/PKGBUILD b/nonsystemd/opentmpfiles/PKGBUILD
index fb93fb570..c4d007f7b 100644
--- a/nonsystemd/opentmpfiles/PKGBUILD
+++ b/nonsystemd/opentmpfiles/PKGBUILD
@@ -22,7 +22,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/OpenRC/${pkgname}/archi
sha256sums=('47d651ccda53a204463285044a9d34b1bd54d927509dac43994a9d6341be084a'
'23c73b3cc20ec38e0a5166f254293c911d20ae3efec8e133f424c1a1d0703fb8'
'adbee03530006e8284ea44c5dd7eb99f6cc6c4e383c09fec36d7a22f7d486fc5'
- '9a753d36a536c7913a38ac9e3cc22ffce4c1214f25059a0a00152bce0043a96e')
+ 'cc551d44fb9026fe00205751a149b564db09c6bf0455a741ddd171d0a85f5b62')
prepare()
diff --git a/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch b/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
index c3aa84d9c..3233d1c20 100644
--- a/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
+++ b/nonsystemd/opentmpfiles/chattr-ignore-nocow.patch
@@ -10,7 +10,7 @@ diff a/tmpfiles.sh b/tmpfiles.sh
+ local fs_type
+ case $attr in
+ [+-=]C) fs_type="$(df --output=fstype "$3" | tail --lines=1)"
-+ test "$fstype" == 'btrfs' || return 0
++ test "$fs_type" = 'btrfs' || return 0
+ ;;
+ esac
+