summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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/"
}