Accepting request 1176727 from home:cboltz
- fix bashism in %post profiles OBS-URL: https://build.opensuse.org/request/show/1176727 OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=405
This commit is contained in:
parent
8f0fcf5e40
commit
ae29aa0b55
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 24 12:21:18 UTC 2024 - Christian Boltz <suse-beta@cboltz.de>
|
||||||
|
|
||||||
|
- fix bashism in %post profiles
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 5 19:53:21 UTC 2024 - Christian Boltz <suse-beta@cboltz.de>
|
Sun May 5 19:53:21 UTC 2024 - Christian Boltz <suse-beta@cboltz.de>
|
||||||
|
|
||||||
|
@ -862,7 +862,7 @@ for oldlocal in \
|
|||||||
usr.sbin.identd usr.sbin.mdnsd usr.sbin.nmbd usr.sbin.nscd usr.sbin.ntpd usr.sbin.smbd usr.sbin.smbd-shares usr.sbin.smbldap-useradd usr.sbin.traceroute \
|
usr.sbin.identd usr.sbin.mdnsd usr.sbin.nmbd usr.sbin.nscd usr.sbin.ntpd usr.sbin.smbd usr.sbin.smbd-shares usr.sbin.smbldap-useradd usr.sbin.traceroute \
|
||||||
usr.sbin.winbindd zgrep
|
usr.sbin.winbindd zgrep
|
||||||
do
|
do
|
||||||
if [ -f "/etc/apparmor.d/local/$oldlocal" ] && [ "$(cat /etc/apparmor.d/local/$oldlocal)" == "# Site-specific additions and overrides for '$oldlocal'" ] ; then
|
if [ -f "/etc/apparmor.d/local/$oldlocal" ] && [ "$(cat /etc/apparmor.d/local/$oldlocal)" = "# Site-specific additions and overrides for '$oldlocal'" ] ; then
|
||||||
rm "/etc/apparmor.d/local/$oldlocal" || :
|
rm "/etc/apparmor.d/local/$oldlocal" || :
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user