Convert to bin variable

This commit is contained in:
doublez13 2024-02-02 19:43:10 -07:00 committed by GitHub
parent 84f22ad331
commit e7cb317e85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = /{usr/,}bin/mutt @{exec_path} = @{bin}/mutt
profile mutt @{exec_path} { profile mutt @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
@ -77,29 +77,29 @@ profile mutt @{exec_path} {
# Used to exec programs defined in the mailcap. # Used to exec programs defined in the mailcap.
# There are countless programs that can be executed from the mailcap. # There are countless programs that can be executed from the mailcap.
# This profile includes only the most basic. # This profile includes only the most basic.
/{usr/,}bin/{,ba,da}sh rix, @{bin}/{,ba,da}sh rix,
/{usr/,}{s,}bin/sendmail rPUx, /{usr/,}{s,}bin/sendmail rPUx,
/{usr/,}bin/ispell rPUx, @{bin}/ispell rPUx,
# TODO: Add a profile for abook (Most distros don't ship this anymore though) # TODO: Add a profile for abook (Most distros don't ship this anymore though)
/{usr/,}bin/abook rPUx, @{bin}/abook rPUx,
/{usr/,}bin/w3m rCx -> html-renderer, @{bin}/w3m rCx -> html-renderer,
/{usr/,}bin/lynx rCx -> html-renderer, @{bin}/lynx rCx -> html-renderer,
/{usr/,}bin/vim rCx -> editor, @{bin}/vim rCx -> editor,
/{usr/,}bin/sensible-editor rCx -> editor, @{bin}/sensible-editor rCx -> editor,
/{usr/,}bin/more rCx -> pager, @{bin}/more rCx -> pager,
/{usr/,}bin/less rCx -> pager, @{bin}/less rCx -> pager,
/{usr/,}bin/pager rCx -> pager, @{bin}/pager rCx -> pager,
/{usr/,}bin/gpg{2,} rCx -> gpg, @{bin}/gpg{2,} rCx -> gpg,
/{usr/,}bin/pgpewrap rCx -> gpg, @{bin}/pgpewrap rCx -> gpg,
profile html-renderer { profile html-renderer {
include <abstractions/base> include <abstractions/base>
/{usr/,}bin/w3m mrix, @{bin}/w3m mrix,
/{usr/,}bin/lynx mrix, @{bin}/lynx mrix,
owner @{HOME}/.w3m/* rw, owner @{HOME}/.w3m/* rw,
@ -112,11 +112,11 @@ profile mutt @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
/{usr/,}bin/sensible-editor mr, @{bin}/sensible-editor mr,
/{usr/,}bin/vim mrix, @{bin}/vim mrix,
/{usr/,}bin/vim.* mrix, @{bin}/vim.* mrix,
/{usr/,}bin/{,ba,da}sh rix, @{bin}/{,ba,da}sh rix,
/{usr/,}bin/which{,.debianutils} rix, @{bin}/which{,.debianutils} rix,
/usr/share/vim/{,**} r, /usr/share/vim/{,**} r,
/usr/share/terminfo/** r, /usr/share/terminfo/** r,
@ -143,9 +143,9 @@ profile mutt @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/consoles> include <abstractions/consoles>
/{usr/,}bin/less mr, @{bin}/less mr,
/{usr/,}bin/more mr, @{bin}/more mr,
/{usr/,}bin/pager mr, @{bin}/pager mr,
owner @{HOME}/.lesshsQ r, owner @{HOME}/.lesshsQ r,
owner @{HOME}/.local/state/ r, owner @{HOME}/.local/state/ r,
@ -164,8 +164,8 @@ profile mutt @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
/{usr/,}bin/gpg{,2} mrix, @{bin}/gpg{,2} mrix,
/{usr/,}bin/pgpewrap mr, @{bin}/pgpewrap mr,
owner @{HOME}/@{XDG_GPG_DIR}/ rw, owner @{HOME}/@{XDG_GPG_DIR}/ rw,
owner @{HOME}/@{XDG_GPG_DIR}/** rwkl -> @{HOME}/@{XDG_GPG_DIR}/**, owner @{HOME}/@{XDG_GPG_DIR}/** rwkl -> @{HOME}/@{XDG_GPG_DIR}/**,