refactor: remove user-defaults install from moonarch-git package
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 9s

The user-defaults mechanism (copying template files to ~/.config/)
was removed from moonarch. Waybar falls back to /etc/xdg/ via XDG
spec — no provisioning needed.
This commit is contained in:
nevaforget 2026-04-07 17:29:10 +02:00
parent f21d8317dd
commit b2cd82c6e4
2 changed files with 1 additions and 6 deletions

View File

@ -190,11 +190,6 @@ package() {
"$pkgdir/etc/systemd/user/graphical-session.target.wants/$(basename "$svc")" "$pkgdir/etc/systemd/user/graphical-session.target.wants/$(basename "$svc")"
done done
# --- User config templates (for post-install.sh / transform.sh) ---
while IFS= read -r -d '' file; do
local _rel="${file#defaults/user/}"
install -Dm644 "$file" "$pkgdir/usr/share/moonarch/user-defaults/$_rel"
done < <(find defaults/user -type f -print0 2>/dev/null || true)
} }
backup=( backup=(

View File

@ -73,7 +73,7 @@ post_install() {
echo "==> Moonarch defaults installed." echo "==> Moonarch defaults installed."
echo "==> For first-time setup run: /opt/moonarch/scripts/post-install.sh" echo "==> For first-time setup run: /opt/moonarch/scripts/post-install.sh"
echo "==> This enables services, configures firewall, and sets up user defaults." echo "==> This enables services and configures firewall."
} }
post_upgrade() { post_upgrade() {