Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock X-Debbugs-Cc: sxmo-ut...@packages.debian.org Control: affects -1 + src:sxmo-utils
Please unblock package sxmo-utils [ Reason ] Removing sxmo-utils but not purging it leaves behind a /etc/profile.d/sxmo_init.sh that fails to run cause it can't find dependent files. [ Impact ] Users that removed sxmo-utils can't login any longer. [ Tests ] Manual tests. [ Risks ] None [ Checklist ] [X] all changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in testing unblock sxmo-utils/1.12.0-7
diff --git a/debian/changelog b/debian/changelog index fdc3418..ffb3f4f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sxmo-utils (1.12.0-7) unstable; urgency=medium + + * Add patch to fix login when sxmo is removed + + -- Jochen Sprickerhof <jspri...@debian.org> Wed, 24 May 2023 19:15:29 +0200 + sxmo-utils (1.12.0-6) unstable; urgency=medium * Replace pn by pnc diff --git a/debian/patches/0023-Don-t-fail-when-sxmo-utils-is-removed-but-not-purged.patch b/debian/patches/0023-Don-t-fail-when-sxmo-utils-is-removed-but-not-purged.patch new file mode 100644 index 0000000..1cfd500 --- /dev/null +++ b/debian/patches/0023-Don-t-fail-when-sxmo-utils-is-removed-but-not-purged.patch @@ -0,0 +1,20 @@ +From: Jochen Sprickerhof <jspri...@debian.org> +Date: Wed, 24 May 2023 19:12:45 +0200 +Subject: Don't fail when sxmo-utils is removed (but not purged) + +--- + configs/profile.d/sxmo_init.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configs/profile.d/sxmo_init.sh b/configs/profile.d/sxmo_init.sh +index d4792e6..3906c7f 100644 +--- a/configs/profile.d/sxmo_init.sh ++++ b/configs/profile.d/sxmo_init.sh +@@ -4,6 +4,7 @@ + + # This script is meant to be sourced on login shells + # shellcheck source=scripts/core/sxmo_common.sh ++test -f /usr/bin/sxmo_common.sh || return 0 + . sxmo_common.sh + + _sxmo_is_running() { diff --git a/debian/patches/series b/debian/patches/series index 5e3ae5a..21d7a8b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -20,3 +20,4 @@ no_doas.patch 0020-Fix-Bluetooth-toogle.patch 0021-replace-pn-with-pnc.patch 0022-add-missing-pn-pnc.patch +0023-Don-t-fail-when-sxmo-utils-is-removed-but-not-purged.patch