summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYour Name2021-04-17 22:19:29 +0200
committerYour Name2021-04-17 22:19:29 +0200
commit05aa8c89e4a237d67a64d2ddc4e9446ea47c3b88 (patch)
tree537648c195c021631c8b7ba6f181f1b6c2adf65c /PKGBUILD
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
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
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/"
}