feat(tunable): add alias from which.debianutils to which.

This commit is contained in:
Alexandre Pujol 2025-05-14 22:43:58 +02:00
parent 1096666191
commit 415c09ca88
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
32 changed files with 35 additions and 33 deletions

View file

@ -13,7 +13,7 @@
@{bin}/nvim mix, @{bin}/nvim mix,
@{bin}/sensible-editor mr, @{bin}/sensible-editor mr,
@{bin}/vim{,.*} mrix, @{bin}/vim{,.*} mrix,
@{bin}/which{,.debianutils} ix, @{bin}/which rix,
/usr/share/nvim/{,**} r, /usr/share/nvim/{,**} r,
/usr/share/terminfo/** r, /usr/share/terminfo/** r,

View file

@ -87,7 +87,7 @@ profile apt-listchanges @{exec_path} {
@{bin}/ r, @{bin}/ r,
@{sh_path} rix, @{sh_path} rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
owner @{HOME}/.less* rw, owner @{HOME}/.less* rw,

View file

@ -174,8 +174,7 @@ profile aptitude @{exec_path} flags=(complain) {
@{bin}/ r, @{bin}/ r,
@{editor_path} mrix, @{editor_path} mrix,
@{sh_path} rix, @{sh_path} rix,
@{bin}/which rix,
@{bin}/which{,.debianutils} rix,
owner @{HOME}/.less* rw, owner @{HOME}/.less* rw,
owner @{tmp}/aptitude-*.@{pid}:*/aptitude-download-* rw, owner @{tmp}/aptitude-*.@{pid}:*/aptitude-download-* rw,

View file

@ -23,7 +23,7 @@ profile brave-wrapper @{exec_path} {
@{bin}/mkdir rix, @{bin}/mkdir rix,
@{bin}/readlink rix, @{bin}/readlink rix,
@{bin}/touch rix, @{bin}/touch rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{lib_dirs}/brave rPx, @{lib_dirs}/brave rPx,

View file

@ -22,7 +22,7 @@ profile chrome-wrapper @{exec_path} flags=(attach_disconnected) {
@{bin}/mkdir rix, @{bin}/mkdir rix,
@{bin}/readlink rix, @{bin}/readlink rix,
@{bin}/touch rix, @{bin}/touch rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{lib_dirs}/chrome rPx, @{lib_dirs}/chrome rPx,

View file

@ -22,7 +22,7 @@ profile msedge-wrapper @{exec_path} flags=(attach_disconnected) {
@{bin}/mkdir rix, @{bin}/mkdir rix,
@{bin}/readlink rix, @{bin}/readlink rix,
@{bin}/touch rix, @{bin}/touch rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{lib_dirs}/msedge rPx, @{lib_dirs}/msedge rPx,

View file

@ -22,7 +22,7 @@ profile cron-apt-compat @{exec_path} {
@{bin}/dd rix, @{bin}/dd rix,
@{bin}/cksum rix, @{bin}/cksum rix,
@{bin}/cut rix, @{bin}/cut rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/sleep rix, @{bin}/sleep rix,
include if exists <local/cron-apt-compat> include if exists <local/cron-apt-compat>

View file

@ -14,7 +14,7 @@ profile cron-apt-xapian-index @{exec_path} {
@{exec_path} r, @{exec_path} r,
@{sh_path} rix, @{sh_path} rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/{,e}grep rix, @{bin}/{,e}grep rix,
@{bin}/nice rix, @{bin}/nice rix,

View file

@ -17,7 +17,7 @@ profile cron-aptitude @{exec_path} {
@{bin}/cp rix, @{bin}/cp rix,
@{bin}/date rix, @{bin}/date rix,
@{bin}/basename rix, @{bin}/basename rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/dirname rix, @{bin}/dirname rix,
@{bin}/rm rix, @{bin}/rm rix,
@{bin}/mv rix, @{bin}/mv rix,

View file

@ -15,7 +15,7 @@ profile cron-mlocate @{exec_path} {
@{exec_path} r, @{exec_path} r,
@{sh_path} rix, @{sh_path} rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/true rix, @{bin}/true rix,
@{bin}/flock rix, @{bin}/flock rix,
@{bin}/nocache rix, @{bin}/nocache rix,

View file

@ -15,7 +15,7 @@ profile cron-plocate @{exec_path} {
@{exec_path} r, @{exec_path} r,
@{sh_path} rix, @{sh_path} rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/true rix, @{bin}/true rix,
@{bin}/flock rix, @{bin}/flock rix,
@{bin}/nocache rix, @{bin}/nocache rix,

View file

@ -74,7 +74,7 @@ profile cron-popularity-contest @{exec_path} {
@{bin}/mv rix, @{bin}/mv rix,
@{bin}/rm rix, @{bin}/rm rix,
@{bin}/touch rix, @{bin}/touch rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{sh_path} rix, @{sh_path} rix,
/var/log/ r, /var/log/ r,

View file

@ -34,7 +34,7 @@ profile x11-xsession @{exec_path} {
@{bin}/tail rix, @{bin}/tail rix,
@{bin}/tempfile rix, @{bin}/tempfile rix,
@{bin}/touch rix, @{bin}/touch rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/dbus-update-activation-environment rCx -> dbus, @{bin}/dbus-update-activation-environment rCx -> dbus,

View file

@ -35,7 +35,7 @@ profile gdm-xsession @{exec_path} {
@{bin}/tr rix, @{bin}/tr rix,
@{bin}/truncate rix, @{bin}/truncate rix,
@{bin}/tty rix, @{bin}/tty rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/zsh rix, @{bin}/zsh rix,
@{bin}/dbus-update-activation-environment rCx -> dbus, @{bin}/dbus-update-activation-environment rCx -> dbus,

View file

@ -47,7 +47,7 @@ profile gsd-xsettings @{exec_path} {
@{bin}/cat rix, @{bin}/cat rix,
@{bin}/sed rix, @{bin}/sed rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/busctl rPx, @{bin}/busctl rPx,
@{bin}/pactl rPx, @{bin}/pactl rPx,

View file

@ -56,7 +56,7 @@ profile grub-mkconfig @{exec_path} flags=(attach_disconnected) {
@{bin}/tr rix, @{bin}/tr rix,
@{bin}/umount rPx, @{bin}/umount rPx,
@{bin}/uname rix, @{bin}/uname rix,
@{bin}/which{.debianutils,} rix, @{bin}/which rix,
@{bin}/zfs rPx, @{bin}/zfs rPx,
@{bin}/zpool rPx, @{bin}/zpool rPx,
/etc/grub.d/{,**} rix, /etc/grub.d/{,**} rix,

View file

@ -84,7 +84,7 @@ profile openvpn @{exec_path} flags=(attach_disconnected) {
@{sh_path} rix, @{sh_path} rix,
@{bin}/cut rix, @{bin}/cut rix,
@{sbin}/ip rix, @{sbin}/ip rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{sbin}/xtables-nft-multi rix, @{sbin}/xtables-nft-multi rix,
/etc/iproute2/rt_tables r, /etc/iproute2/rt_tables r,

View file

@ -52,7 +52,7 @@ profile apport-gtk @{exec_path} {
@{bin}/systemctl rCx -> systemctl, @{bin}/systemctl rCx -> systemctl,
@{bin}/systemd-detect-virt rPx, @{bin}/systemd-detect-virt rPx,
@{bin}/uname rix, @{bin}/uname rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{lib}/{,colord/}colord-sane rPx, @{lib}/{,colord/}colord-sane rPx,
@{lib}/@{multiarch}/ld*.so* rix, @{lib}/@{multiarch}/ld*.so* rix,
/usr/share/apport/root_info_wrapper rix, /usr/share/apport/root_info_wrapper rix,

View file

@ -41,7 +41,7 @@ profile anyremote @{exec_path} {
@{bin}/tail rix, @{bin}/tail rix,
@{bin}/tr rix, @{bin}/tr rix,
@{bin}/wc rix, @{bin}/wc rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/convert-im6.q16 rCx -> imagemagic, @{bin}/convert-im6.q16 rCx -> imagemagic,
@{bin}/killall rCx -> killall, @{bin}/killall rCx -> killall,

View file

@ -20,7 +20,7 @@ profile aspell-autobuildhash @{exec_path} flags=(complain) {
@{bin}/gzip rix, @{bin}/gzip rix,
@{bin}/precat rix, @{bin}/precat rix,
@{bin}/prezip-bin rix, @{bin}/prezip-bin rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/zcat rix, @{bin}/zcat rix,
@{bin}/dpkg-trigger rPx, @{bin}/dpkg-trigger rPx,

View file

@ -24,7 +24,7 @@ profile claws-mail @{exec_path} flags=(complain) {
@{exec_path} mr, @{exec_path} mr,
@{sh_path} rix, @{sh_path} rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/gpg{,2} rCx -> gpg, @{bin}/gpg{,2} rCx -> gpg,
@{bin}/gpgsm rCx -> gpg, @{bin}/gpgsm rCx -> gpg,

View file

@ -30,7 +30,7 @@ profile ganyremote @{exec_path} {
@{bin}/{,e}grep rix, @{bin}/{,e}grep rix,
@{bin}/cut rix, @{bin}/cut rix,
@{bin}/id rix, @{bin}/id rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/tr rix, @{bin}/tr rix,
@{bin}/{m,g,}awk rix, @{bin}/{m,g,}awk rix,

View file

@ -15,7 +15,7 @@ profile gsmartcontrol-root @{exec_path} {
@{exec_path} r, @{exec_path} r,
@{sh_path} rix, @{sh_path} rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/pkexec rCx -> pkexec, @{bin}/pkexec rCx -> pkexec,

View file

@ -31,7 +31,7 @@ profile kanyremote @{exec_path} {
@{bin}/{,e}grep rix, @{bin}/{,e}grep rix,
@{bin}/cut rix, @{bin}/cut rix,
@{bin}/id rix, @{bin}/id rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/tr rix, @{bin}/tr rix,
@{bin}/{m,g,}awk rix, @{bin}/{m,g,}awk rix,
@{bin}/head rix, @{bin}/head rix,

View file

@ -16,7 +16,7 @@ profile mumble-overlay @{exec_path} {
@{sh_path} rix, @{sh_path} rix,
@{bin}/file rix, @{bin}/file rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/glxgears rPx, @{bin}/glxgears rPx,

View file

@ -23,7 +23,7 @@ profile needrestart-vmlinuz-get-version @{exec_path} {
@{bin}/rm rix, @{bin}/rm rix,
@{bin}/tail rix, @{bin}/tail rix,
@{bin}/tr rix, @{bin}/tr rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/xz rix, @{bin}/xz rix,
/boot/intel-ucode.img r, /boot/intel-ucode.img r,

View file

@ -58,7 +58,7 @@ profile openbox @{exec_path} {
@{lib}/@{multiarch}/openbox-xdg-autostart rix, @{lib}/@{multiarch}/openbox-xdg-autostart rix,
@{sh_path} rix, @{sh_path} rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
# Apps allowed to run # Apps allowed to run
@{bin}/* rPUx, @{bin}/* rPUx,

View file

@ -33,7 +33,7 @@ profile ucf @{exec_path} {
@{bin}/seq rix, @{bin}/seq rix,
@{bin}/stat rix, @{bin}/stat rix,
@{bin}/tr rix, @{bin}/tr rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/dpkg-query rpx, @{bin}/dpkg-query rpx,
@{bin}/dpkg-divert rPx, @{bin}/dpkg-divert rPx,

View file

@ -24,7 +24,7 @@ profile update-pciids @{exec_path} {
@{bin}/chmod rix, @{bin}/chmod rix,
@{bin}/echo rix, @{bin}/echo rix,
@{bin}/cat rix, @{bin}/cat rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/bunzip2 rix, @{bin}/bunzip2 rix,
@{bin}/bzip2 rix, @{bin}/bzip2 rix,
@{bin}/gzip rix, @{bin}/gzip rix,

View file

@ -18,7 +18,7 @@ profile uupdate @{exec_path} flags=(complain) {
@{sh_path} rix, @{sh_path} rix,
@{bin}/basename rix, @{bin}/basename rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
@{bin}/tr rix, @{bin}/tr rix,
@{bin}/{,e}grep rix, @{bin}/{,e}grep rix,
@{bin}/getopt rix, @{bin}/getopt rix,

View file

@ -35,7 +35,7 @@ profile xinit @{exec_path} {
@{bin}/tail rix, @{bin}/tail rix,
@{bin}/tempfile rix, @{bin}/tempfile rix,
@{bin}/touch rix, @{bin}/touch rix,
@{bin}/which{,.debianutils} rix, @{bin}/which rix,
/etc/X11/xinit/xinitrc rix, /etc/X11/xinit/xinitrc rix,
/etc/X11/xinit/xserverrc rix, /etc/X11/xinit/xserverrc rix,

View file

@ -67,4 +67,7 @@
alias // -> /, alias // -> /,
#aa:only apt
alias /usr/bin/which.debianutils -> /usr/bin/which,
# vim:syntax=apparmor # vim:syntax=apparmor