summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorundiabler2019-11-12 22:04:34 +0100
committerundiabler2019-11-12 22:04:34 +0100
commit33da1670943f4d809b5b6175d0f1eae4bac40903 (patch)
treed2ad80fe73c125afefe88b12ab421156c9c0a829
parent3312ae7dde2b026de8ba2a8ea5cefa43310413c6 (diff)
downloadaur-33da1670943f4d809b5b6175d0f1eae4bac40903.tar.gz
fix bash mistake, make conf files not so open
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
-rw-r--r--wireguard_hook2
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ffcb5cff6f..94c579065f2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,7 +12,7 @@ pkgbase = mkinitcpio-wireguard
source = wireguard_hook
source = wireguard_install
source = wireguard_config
- sha256sums = 3aea7f1cedfd5194de93ef1755b545e994df20a40dcf358f3c0727ce63fe652a
+ sha256sums = 57357aeec99d9fd60ff9bbef2e17502be4b31f5d6b472a678978b4dddc094cf5
sha256sums = 563e42ce30179df55132c10b295604e0a5a68d925890db55153764b4c3f959fe
sha256sums = e7a034b4239610be33ccb1001a0df947fb14cbe758b8f2825d8b890f2bfc043e
diff --git a/PKGBUILD b/PKGBUILD
index 9bf41e4eb3b..6bfa9243502 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,13 +13,13 @@ backup=('etc/wireguard/initcpio/unlock')
source=('wireguard_hook' 'wireguard_install' 'wireguard_config')
package() {
- install -o root -g root -D ${srcdir}/wireguard_hook ${pkgdir}/usr/lib/initcpio/hooks/wireguard
- install -o root -g root -D ${srcdir}/wireguard_install ${pkgdir}/usr/lib/initcpio/install/wireguard
- install -o root -g root -D ${srcdir}/wireguard_config ${pkgdir}/etc/wireguard/initcpio/unlock
+ install -Dm644 ${srcdir}/wireguard_hook ${pkgdir}/usr/lib/initcpio/hooks/wireguard
+ install -Dm644 ${srcdir}/wireguard_install ${pkgdir}/usr/lib/initcpio/install/wireguard
+ install -Dm644 ${srcdir}/wireguard_config ${pkgdir}/etc/wireguard/initcpio/unlock
}
sha256sums=(
-'3aea7f1cedfd5194de93ef1755b545e994df20a40dcf358f3c0727ce63fe652a'
+'57357aeec99d9fd60ff9bbef2e17502be4b31f5d6b472a678978b4dddc094cf5'
'563e42ce30179df55132c10b295604e0a5a68d925890db55153764b4c3f959fe'
'e7a034b4239610be33ccb1001a0df947fb14cbe758b8f2825d8b890f2bfc043e'
)
diff --git a/wireguard_hook b/wireguard_hook
index 5d5becf1166..df8d5fcbfc4 100644
--- a/wireguard_hook
+++ b/wireguard_hook
@@ -1,4 +1,4 @@
-#!/bin/ash
+#!/bin/bash
#
# This is free and unencumbered software released into the public domain.
#