Stage CUPS authorization as settings override (#237)
This commit is contained in:
1 parent
391b5a201f
commit
6daa7c90e4
4 files changed
+20
-4
No files matched your search
@@ -38,7 +38,8 @@ makedepends=(
|
||||
# backup=() is pacman's hook for protecting user edits to package-owned files
|
||||
# on upgrade. Only the paths the package actually installs into /etc qualify.
|
||||
# The etc-overrides set (faillock.conf, nsswitch.conf, cups-browsed.conf,
|
||||
# plymouthd.conf, /etc/skel/.bashrc) ships at /usr/share/omarchy/etc-overrides/
|
||||
# cups-files.conf, plymouthd.conf, /etc/skel/.bashrc) ships at
|
||||
# /usr/share/omarchy/etc-overrides/
|
||||
# and is cp -f'd by post_install — those paths are unowned by pacman and the
|
||||
# scriptlet WILL clobber user edits on each upgrade (documented limitation).
|
||||
backup=(
|
||||
@@ -90,6 +91,7 @@ _etc_override_paths=(
|
||||
'etc/security/faillock.conf'
|
||||
'etc/nsswitch.conf'
|
||||
'etc/cups/cups-browsed.conf'
|
||||
'etc/cups/cups-files.conf'
|
||||
'etc/plymouth/plymouthd.conf'
|
||||
)
|
||||
|
||||
@@ -224,6 +226,8 @@ EOF
|
||||
mv "$pkgdir/$path" "$pkgdir/usr/share/omarchy/etc-overrides/nsswitch.conf" ;;
|
||||
'etc/cups/cups-browsed.conf')
|
||||
mv "$pkgdir/$path" "$pkgdir/usr/share/omarchy/etc-overrides/cups-cups-browsed.conf" ;;
|
||||
'etc/cups/cups-files.conf')
|
||||
[[ ! -f $pkgdir/$path ]] || mv "$pkgdir/$path" "$pkgdir/usr/share/omarchy/etc-overrides/cups-cups-files.conf" ;;
|
||||
'etc/plymouth/plymouthd.conf')
|
||||
mv "$pkgdir/$path" "$pkgdir/usr/share/omarchy/etc-overrides/plymouth-plymouthd.conf" ;;
|
||||
esac
|
||||
|
||||
Reference in new issue
Block a user