mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Fix linking of manifest into /custom/lib/apparmor/clicks/.
This commit is contained in:
parent
68e78ecd52
commit
f4589e7c31
@ -31,7 +31,7 @@ for manifest in /var/lib/apparmor/clicks/*; do
|
||||
name="${pkgdir_noversion##*/}"
|
||||
if [ -d "/custom/click/$name/$version" ]; then
|
||||
# Clone into custom.
|
||||
ln -nsf "/custom/click/$name/$version$manifest_tail" "/custom/lib/apparmor/clicks$manifest_tail"
|
||||
ln -nsf "/custom/click/$name/$version$manifest_tail" "/custom/lib/apparmor/clicks/${manifest##*/}"
|
||||
profile="$(basename "$manifest" .json)"
|
||||
cp -a "/var/lib/apparmor/profiles/click_$profile" /custom/lib/apparmor/profiles/
|
||||
if [ -d "/usr/share/click/preinstalled/$name/$version" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user