summaryrefslogtreecommitdiff
path: root/pcr/firewalld-openrc/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-22 11:29:01 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-22 11:29:01 -0500
commit47c3d89b53d2d2bd384cce668f41c82f57894ef1 (patch)
treebe8dfde6038f3f96232e6a6c07d46a723f0804b1 /pcr/firewalld-openrc/PKGBUILD
parente5166c5f4ecb78955b3f79e9e317e080e34255a5 (diff)
downloadabslibre-47c3d89b53d2d2bd384cce668f41c82f57894ef1.tar.gz
abslibre-47c3d89b53d2d2bd384cce668f41c82f57894ef1.tar.bz2
abslibre-47c3d89b53d2d2bd384cce668f41c82f57894ef1.zip
firewalld-openrc: use default shebang line
Diffstat (limited to 'pcr/firewalld-openrc/PKGBUILD')
-rw-r--r--pcr/firewalld-openrc/PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/pcr/firewalld-openrc/PKGBUILD b/pcr/firewalld-openrc/PKGBUILD
index 5baa86589..ac2779703 100644
--- a/pcr/firewalld-openrc/PKGBUILD
+++ b/pcr/firewalld-openrc/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=firewalld-openrc
pkgver=1.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="OpenRC scripts for firewalld."
arch=('any')
provides=('firewalld-openrc')
@@ -17,9 +17,7 @@ sha256sums=('96593cc0e8efcb60b0aa6b9e994dae31ec31cd812aca1145b7829b0a40e0dfa6')
_inst_initd(){
install -Dm755 firewalld.init ${pkgdir}/etc/init.d/firewalld
- 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
}