22 lines
685 B
Bash
Executable File
22 lines
685 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
# Automatically added by dh_apparmor/2.13.2-10
|
|
if [ "$1" = "configure" ]; then
|
|
APP_PROFILE="/etc/apparmor.d/usr.lib.ipsec.charon"
|
|
if [ -f "$APP_PROFILE" ]; then
|
|
# Add the local/ include
|
|
LOCAL_APP_PROFILE="/etc/apparmor.d/local/usr.lib.ipsec.charon"
|
|
|
|
test -e "$LOCAL_APP_PROFILE" || {
|
|
mkdir -p `dirname "$LOCAL_APP_PROFILE"`
|
|
install --mode 644 /dev/null "$LOCAL_APP_PROFILE"
|
|
}
|
|
|
|
# Reload the profile, including any abstraction updates
|
|
if aa-enabled --quiet 2>/dev/null; then
|
|
apparmor_parser -r -T -W "$APP_PROFILE" || true
|
|
fi
|
|
fi
|
|
fi
|
|
# End automatically added section
|