summaryrefslogtreecommitdiff
path: root/pcr/openrc-devel
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc-devel')
-rw-r--r--pcr/openrc-devel/PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/pcr/openrc-devel/PKGBUILD b/pcr/openrc-devel/PKGBUILD
index cdd9b8c66..8f2d3b148 100644
--- a/pcr/openrc-devel/PKGBUILD
+++ b/pcr/openrc-devel/PKGBUILD
@@ -12,7 +12,7 @@ pkgname=('jenkins-openrc'
'distcc-openrc')
# 'php-fpm-openrc')
pkgver=20170309
-pkgrel=1
+pkgrel=1.1
pkgdesc="OpenRC init scripts"
arch=('any')
url="https://github.com/manjaro/packages-openrc"
@@ -53,9 +53,7 @@ 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' \
+ sed -e 's|/var/run|/run|g' \
-e 's|/usr/sbin|/usr/bin|g' \
-i ${pkgdir}/etc/init.d/$1
}