# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{lib}/{,gnome-shell/}gnome-shell-overrides-migration.sh
profile gnome-shell-overrides-migration @{exec_path} {
  include <abstractions/base>

  @{exec_path} mr,

  @{sh_path}        rix,
  @{bin}/gsettings  rPx,

  owner @{user_share_dirs}/gnome-shell/ rw,
  owner @{user_share_dirs}/gnome-shell/gnome-overrides-migrated rw,

  include if exists <local/gnome-shell-overrides-migration>
}

# vim:syntax=apparmor
