summarylogtreecommitdiffstats
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
parentd6a162f4cfc1fbf7f0ba58f618d02edc7a554b99 (diff)
downloadaur-auditd-openrc.tar.gz
Shebang on init file should now allow a start at the designated runlevel
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e0a0b89fdd2f..8e3b3f44332e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Feb 4 20:28:30 UTC 2016
+# Sat Oct 1 14:30:50 UTC 2016
pkgbase = auditd-openrc
pkgdesc = Auditd init script for OpenRC (from systemd-free.org - not apg's way)
- pkgver = 20151011
+ pkgver = 20161001
pkgrel = 1
url = http://people.redhat.com/sgrubb/audit/
install = audit.install
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)