diff --git a/configure b/configure index 0a58eab3..b074b7cf 100755 --- a/configure +++ b/configure @@ -102,6 +102,11 @@ configure() { ;; + opensuse) + LIBEXEC="/{usr/,}libexec" + sed -i -e '/Archlinux/d' "$ROOT/apparmor.d/tunables/extend" + ;; + *) _die "$DISTRIBUTION is not a supported distribution." ;; esac } @@ -142,7 +147,7 @@ _resolve_attachments() { # Parse the variables in the profile hearder variables=( [libexec]="$LIBEXEC" [multiarch]="*-linux-gnu*" - [user_share_dirs]="/home/*/.local/share" + [user_share_dirs]="/home/*/.local/share" [etc_ro]="/{usr/,}etc/" ) mapfile -t lines < <(grep '^@{.*}[ ]*[+=][ ]*.*$' "$path") for line in "${lines[@]}"; do