summaryrefslogtreecommitdiff
path: root/pcr/firewalld-openrc/PKGBUILD
diff options
context:
space:
mode:
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
}