refactor(profiles): use @{bin} and @{lib} in profiles (3)

This commit is contained in:
Alexandre Pujol 2023-07-09 14:09:55 +01:00
parent 2eed3b725f
commit 27daa7c9bb
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
355 changed files with 1473 additions and 1472 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/update-notifier/update-motd-updates-available
@{exec_path} = @{lib}/update-notifier/update-motd-updates-available
profile update-motd-updates-available @{exec_path} {
include <abstractions/base>
include <abstractions/apt-common>
@ -19,20 +19,20 @@ profile update-motd-updates-available @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/python3.[0-9]* r,
@{bin}/python3.[0-9]* r,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/apt-config rPx,
/{usr/,}bin/chmod rix,
/{usr/,}bin/dirname rix,
/{usr/,}bin/dpkg rPx -> child-dpkg,
/{usr/,}bin/find rix,
/{usr/,}bin/ischroot rix,
/{usr/,}bin/lsb_release rPx -> lsb_release,
/{usr/,}bin/mktemp rix,
/{usr/,}bin/mv rix,
/{usr/,}bin/rm rix,
/{usr/,}lib/update-notifier/apt_check.py rix,
@{bin}/{,ba,da}sh rix,
@{bin}/apt-config rPx,
@{bin}/chmod rix,
@{bin}/dirname rix,
@{bin}/dpkg rPx -> child-dpkg,
@{bin}/find rix,
@{bin}/ischroot rix,
@{bin}/lsb_release rPx -> lsb_release,
@{bin}/mktemp rix,
@{bin}/mv rix,
@{bin}/rm rix,
@{lib}/update-notifier/apt_check.py rix,
/usr/share/distro-info/{,**} r,