From 30f7f9a4b4b003da343c0c7f9a64ab3a03fe82c0 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Wed, 1 Jul 2026 12:32:02 -0500 Subject: [PATCH] Fix disabling systemd user service Since commit 4e8ffd4cd didn't make it for 10.8.1 the version is wrong and it doesn't get applied to upgrades. Adjust to the hypothetical next version of 10.10.0. --- contrib/debian/lemonade-server.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/debian/lemonade-server.postinst b/contrib/debian/lemonade-server.postinst index 77ab56559..20cb9db5f 100644 --- a/contrib/debian/lemonade-server.postinst +++ b/contrib/debian/lemonade-server.postinst @@ -32,7 +32,7 @@ fi # #2125: migrate pre-fix upgrades — disable per-user lemond.service and stop # any still-running instance that conflicts with the system service. -if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "10.8.1~"; then +if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "10.10.0~"; then if command -v deb-systemd-helper > /dev/null 2>&1; then deb-systemd-helper --user disable lemond.service > /dev/null 2>&1 || true fi