summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYour Name2021-04-17 22:19:29 +0200
committerYour Name2021-04-17 22:19:29 +0200
commit05aa8c89e4a237d67a64d2ddc4e9446ea47c3b88 (patch)
tree537648c195c021631c8b7ba6f181f1b6c2adf65c
parent97fc8a589756348c546caa01d82778a772c96708 (diff)
downloadaur-05aa8c89e4a237d67a64d2ddc4e9446ea47c3b88.tar.gz
Fix permissions issues that were throwing Configuration file /etc/systemd/system/rguard.service is executable. Please remove executable permission bits
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 349112bb737..15b23d4a7d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = reboot-guard
pkgdesc = Block systemd-initiated poweroff/reboot/halt until configurable condition checks pass
pkgver = 1.0.1
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/ryran/reboot-guard
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index abc3ef43775..a626dba165b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=reboot-guard
pkgver=1.0.1
-pkgrel=3
+pkgrel=4
pkgdesc="Block systemd-initiated poweroff/reboot/halt until configurable condition checks pass"
arch=('any')
url="https://github.com/ryran/reboot-guard"
@@ -23,7 +23,7 @@ prepare() {
package() {
cd "$pkgname-$pkgver"
mkdir -p "${pkgdir}/usr/bin/"
- install -D rguard "${pkgdir}/usr/bin/"
+ install -D -m 755 rguard "${pkgdir}/usr/bin/"
mkdir -p "$pkgdir/etc/systemd/system/"
- install -D rguard.service "$pkgdir/etc/systemd/system/"
+ install -D -m 644 rguard.service "$pkgdir/etc/systemd/system/"
}