diff --git a/bin/omarchy-upgrade-to-quattro b/bin/omarchy-upgrade-to-quattro index 8cfe6d62..c4feedd2 100755 --- a/bin/omarchy-upgrade-to-quattro +++ b/bin/omarchy-upgrade-to-quattro @@ -1370,6 +1370,9 @@ EOF as_root rm -f /etc/udev/rules.d/99-dell-xps-haptic-touchpad.rules as_root rm -f /etc/omarchy-dell-haptic-touchpad.env as_root rm -f /etc/pacman.d/hooks/walker-restart.hook + as_root rm -f \ + /etc/systemd/system.conf.d/99-omarchy-nofile.conf \ + /etc/systemd/user.conf.d/99-omarchy-nofile.conf as_root systemctl daemon-reload >/dev/null 2>&1 || true if [[ -f /etc/pam.d/sddm ]]; then diff --git a/test/shell.d/upgrade-to-quattro-test.sh b/test/shell.d/upgrade-to-quattro-test.sh index a1138e79..4597d1b4 100644 --- a/test/shell.d/upgrade-to-quattro-test.sh +++ b/test/shell.d/upgrade-to-quattro-test.sh @@ -65,3 +65,7 @@ pass "Omarchy 4 upgrade backfills hardware support from the legacy release" grep -F 'omarchy-refresh-applications' "$upgrade_to_quattro" >/dev/null pass "Omarchy 4 upgrade refreshes application launchers" + +grep -F '/etc/systemd/system.conf.d/99-omarchy-nofile.conf' "$upgrade_to_quattro" >/dev/null +grep -F '/etc/systemd/user.conf.d/99-omarchy-nofile.conf' "$upgrade_to_quattro" >/dev/null +pass "Omarchy 4 upgrade removes stale nofile drop-ins"