summaryrefslogtreecommitdiff
path: root/pcr/openrc-misc
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-19 18:19:53 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-19 18:19:53 -0500
commitf6c0037c042f7afb0fce5eb5a52b556e58345c7f (patch)
tree7d9db13ebb36800b6f9a144d0b8bda6b4f0886c1 /pcr/openrc-misc
parentd15f30b18fed94d7fc6487b9d33c5e2057d614cd (diff)
downloadabslibre-f6c0037c042f7afb0fce5eb5a52b556e58345c7f.tar.gz
abslibre-f6c0037c042f7afb0fce5eb5a52b556e58345c7f.tar.bz2
abslibre-f6c0037c042f7afb0fce5eb5a52b556e58345c7f.zip
openrc: use default shebang line
Diffstat (limited to 'pcr/openrc-misc')
-rw-r--r--pcr/openrc-misc/PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/pcr/openrc-misc/PKGBUILD b/pcr/openrc-misc/PKGBUILD
index b421ecdc9..200be971d 100644
--- a/pcr/openrc-misc/PKGBUILD
+++ b/pcr/openrc-misc/PKGBUILD
@@ -29,7 +29,7 @@ pkgname=('cpupower-openrc'
'libvirt-openrc'
'laptop-mode-tools-openrc')
pkgver=20170309
-pkgrel=1.parabola1
+pkgrel=1.parabola2
pkgdesc="OpenRC init scripts"
arch=('any')
url="https://github.com/manjaro/packages-openrc"
@@ -161,9 +161,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
}