diff options
author | undiabler | 2019-11-12 22:04:34 +0100 |
---|---|---|
committer | undiabler | 2019-11-12 22:04:34 +0100 |
commit | 33da1670943f4d809b5b6175d0f1eae4bac40903 (patch) | |
tree | d2ad80fe73c125afefe88b12ab421156c9c0a829 | |
parent | 3312ae7dde2b026de8ba2a8ea5cefa43310413c6 (diff) | |
download | aur-33da1670943f4d809b5b6175d0f1eae4bac40903.tar.gz |
fix bash mistake, make conf files not so open
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | wireguard_hook | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -12,7 +12,7 @@ pkgbase = mkinitcpio-wireguard source = wireguard_hook source = wireguard_install source = wireguard_config - sha256sums = 3aea7f1cedfd5194de93ef1755b545e994df20a40dcf358f3c0727ce63fe652a + sha256sums = 57357aeec99d9fd60ff9bbef2e17502be4b31f5d6b472a678978b4dddc094cf5 sha256sums = 563e42ce30179df55132c10b295604e0a5a68d925890db55153764b4c3f959fe sha256sums = e7a034b4239610be33ccb1001a0df947fb14cbe758b8f2825d8b890f2bfc043e @@ -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 5d5becf1166a..df8d5fcbfc45 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. # |