summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoão Miguel2016-10-01 15:31:17 +0100
committerJoão Miguel2016-10-01 15:31:17 +0100
commitd4c5a7eafc7bf3dcc34389338c517b4a563e8697 (patch)
treee9a1c3c1823535b7f01b5da14d8c29169e833523 /PKGBUILD
parentd6a162f4cfc1fbf7f0ba58f618d02edc7a554b99 (diff)
downloadaur-auditd-openrc.tar.gz
Shebang on init file should now allow a start at the designated runlevel
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8da4959b4a87..7c02c8729d03 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: João Miguel <jmcf125 at openmailbox dot org>
pkgname=auditd-openrc
-pkgver=20151011
+pkgver=20161001
pkgrel=1
pkgdesc="Auditd init script for OpenRC (from systemd-free.org - not apg's way)"
url='http://people.redhat.com/sgrubb/audit/'
@@ -25,7 +25,7 @@ _inst_confd(){
_inst_initd(){
install -Dm755 "${srcdir}/${1}-init.d-2.4.3" "${pkgdir}/etc/init.d/$1"
- sed -e 's|#!/sbin/runscript|#!/usr/bin/openrc-run|' \
+ sed -e 's|#!.*|#!/usr/bin/openrc-run|' \ # .* because Gentoo keeps changing the link
-e 's|/var/run|/run|g' \
-i "${pkgdir}/etc/init.d/$1"
# ^^--- should work without this, but actually does not (at boot)