[arch-commits] Commit in apparmor/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Sep 29 21:37:48 UTC 2018
Date: Saturday, September 29, 2018 @ 21:37:47
Author: dvzrv
Revision: 388035
upgpkg: apparmor 2.13.0-9
Fixing dynamic assignment of backup array (by hack), before pkgdir is created.
Modified:
apparmor/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-29 21:03:42 UTC (rev 388034)
+++ PKGBUILD 2018-09-29 21:37:47 UTC (rev 388035)
@@ -1,7 +1,7 @@
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=apparmor
pkgver=2.13.0
-pkgrel=8
+pkgrel=9
pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM)"
arch=('x86_64')
url="https://gitlab.com/apparmor/apparmor"
@@ -88,5 +88,7 @@
"${pkgdir}/usr/lib/ruby/vendor_ruby/"
# adding files below /etc/apparmor.d to backup array
cd "${pkgdir}"
- backup=( ${backup[@]} $(find "etc/${pkgname}.d/" -type f) )
+ # tricking extract_function_variable() in makepkg into not detecting the
+ # backup array modification
+ [[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" -type f) )
}
More information about the arch-commits
mailing list