- ✨ share regional repository generation across install and refresh - 🛡️ reject invalid profiles before replacing configuration Amp-Thread-ID: T-01a0df38-0ea7-759b-bcff-29da223cc567
13 lines
677 B
Bash
13 lines
677 B
Bash
# Configure pacman after package installation completes. Offline target package
|
|
# installs use the live ISO's offline pacman.conf until this final restore.
|
|
"$OMARCHY_PATH/bin/omarchy-apply-pacman" "${OMARCHY_MIRROR:-stable}"
|
|
|
|
# Wait for CUPS to own the file, the way omarchy-settings does, so pacman does
|
|
# not turn the override into a .pacnew during ISO package installation.
|
|
if [[ -f $OMARCHY_PATH/etc-overrides/cups-cups-files.conf && -f /etc/cups/cups-files.conf ]]; then
|
|
install -m 0640 -o root -g cups "$OMARCHY_PATH/etc-overrides/cups-cups-files.conf" /etc/cups/cups-files.conf
|
|
rm -f /etc/cups/cups-files.conf.pacnew
|
|
fi
|
|
|
|
source "$OMARCHY_INSTALL/hardware/pacman.sh"
|