On Sun, Jan 10, 2021 at 5:46 PM Michael Biebl wrote:
> If you want to clean up this state, I would propose to use the following
>
> deb-systemd-helper --user purge xscreensaver.service >/dev/null || true
> deb-systemd-helper --user unmask xscreensaver.service >/dev/null || true
>
> Guarded by a version check.
> This will remove the (global) enablement symlink and purge the
> init-system-helpers state.

Thanks, I'll add
if [ "$1" = "configure" ] && [ "$2" = "5.44+dfsg1-2" -o "$2" =
"5.45+dfsg1-1" ]; then ... fi
around it.

Tormod

Reply via email to