summaryrefslogtreecommitdiff
path: root/pcr/openrc-net
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc-net')
-rw-r--r--pcr/openrc-net/PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/pcr/openrc-net/PKGBUILD b/pcr/openrc-net/PKGBUILD
index 045b94499..3278fbe6a 100644
--- a/pcr/openrc-net/PKGBUILD
+++ b/pcr/openrc-net/PKGBUILD
@@ -45,7 +45,7 @@ pkgname=('autofs-openrc'
'snort-openrc'
'unbound-openrc')
pkgver=20170309
-pkgrel=1
+pkgrel=1.1
pkgdesc="OpenRC init scripts"
arch=('any')
url="https://github.com/manjaro/packages-openrc"
@@ -221,10 +221,8 @@ pkgver() {
_inst_initd(){
install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
- sed -e 's|#!/sbin/runscript|#!/usr/bin/openrc-run|' \
- -e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|' \
- -e 's|/var/run|/run|g' \
- -i ${pkgdir}/etc/init.d/$1
+ sed -e 's|/var/run|/run|g' \
+ -i ${pkgdir}/etc/init.d/$1
}
_inst_confd(){