From 688f2651fdfa413bc58876aef00685ac6cdc25ee Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 21 Sep 2024 22:14:30 +0100 Subject: [PATCH] feat(tunable): improve python name definition. --- apparmor.d/tunables/multiarch.d/programs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apparmor.d/tunables/multiarch.d/programs b/apparmor.d/tunables/multiarch.d/programs index 61d3713a..406336e4 100644 --- a/apparmor.d/tunables/multiarch.d/programs +++ b/apparmor.d/tunables/multiarch.d/programs @@ -26,7 +26,8 @@ @{coreutils} += truncate tsort tty uname unexpand uniq unlink updatedb vdir wc who whoami xargs yes # Python interpreters -@{python_name} = python{,3,3.[0-9],3.1[0-9]} +@{python_version} = 3 3.[0-9] 3.1[0-9] +@{python_name} = python python@{python_version} # Open @{open_names} = exo-open xdg-open gio kde-open gio-launch-desktop @@ -60,9 +61,9 @@ @{torbrowser_name} = torbrowser "tor browser" @{torbrowser_lib_dirs} = @{HOME}/.tb/tor-browser/Browser/ -# Emails +# Emails -@{thunderbird_name} = thunderbird{,-bin} +@{thunderbird_name} = thunderbird{,-bin} @{thunderbird_lib_dirs} = @{lib}/@{thunderbird_name} @{emails_names} = evolution geary