diff options
author | João Miguel | 2017-07-19 17:02:41 +0100 |
---|---|---|
committer | João Miguel | 2017-07-19 17:02:41 +0100 |
commit | 8fb609aa274623341b25ced5c93928141540c1d7 (patch) | |
tree | ff3c764b28b1d9448d1145e11e573947e0764dc4 | |
parent | 4068c4cc74aa33090d804a2d57e05b598fa1f886 (diff) | |
download | aur-apparmor-openrc.tar.gz |
Emptying apparmor.install since now there are OpenRC install hooks.
Note: the install file cannot be removed (as far as I can tell from
reading https://bbs.archlinux.org/viewtopic.php?id=202099).
Error message when trying to commit without apparmor.install:
remote: error: The following error occurred when parsing commit
remote: error: 89e455a5197296fe46f7c7da7862bbe02e48c268:
remote: error: missing install file: apparmor.install
remote: error: hook declined to update refs/heads/master
To ssh://aur/apparmor-openrc.git
! [remote rejected] master -> master (hook declined)
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | apparmor.install | 12 |
3 files changed, 1 insertions, 15 deletions
@@ -1,11 +1,10 @@ # Generated by mksrcinfo v8 -# Wed Jul 19 14:40:44 UTC 2017 +# Wed Jul 19 16:02:03 UTC 2017 pkgbase = apparmor-openrc pkgdesc = Apparmor init script for OpenRC (from systemd-free.org - not apg's way) pkgver = 20170719 pkgrel = 1 url = http://apparmor.net/ - install = apparmor.install arch = any license = GPL2 depends = apparmor @@ -7,7 +7,6 @@ arch=('any') url="http://apparmor.net/" license=('GPL2') depends=('apparmor' 'openrc') -install='apparmor.install' _filename='apparmor-init' source=("https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/apparmor/files/$_filename") sha256sums=('f1c9ef2737012475f7fe7b943533b5d9345df1814a16a5c8d1929d835482f802') diff --git a/apparmor.install b/apparmor.install index a59542111936..e69de29bb2d1 100644 --- a/apparmor.install +++ b/apparmor.install @@ -1,12 +0,0 @@ -_svc="apparmor" -_rlvl="boot" - -post_install() { - _cmd="rc-update add ${_svc} ${_rlvl}" - echo " ==> run '${_cmd}'" -} - -post_remove() { - _cmd="rc-update del ${_svc} ${_rlvl}" - echo " ==> run '${_cmd}'" -} |