DEB tdebase: Prevent unwanted restarting TDM service during upgrade.

This made it possible to add #DEBHELPER# back to TDM prerm script.
This resolves issue TDE/tdebase#409.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/263/head
Slávek Banko 1 year ago
parent 80ece3509c
commit 55fbcd419d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -74,6 +74,9 @@ DEB_FIXPERMS_EXCLUDE := \
DEB_DH_STRIP_ARGS := --dbg-package=tdebase-trinity-dbg
DEB_DH_INSTALLINIT_ARGS := --no-start --no-stop-on-upgrade --no-restart-after-upgrade
DEB_DH_SYSTEMD_START_ARGS := --no-start --no-stop-on-upgrade --no-restart-after-upgrade
DOC_HTML_PRUNE := ksplashml kcontrol khelpcenter tdesu knetattach tdeioslave kxkb tdedebugdialog kdcop
PACKAGES_WITH_LIBS := kate-trinity kcontrol-trinity tdebase-trinity-bin kicker-trinity konqueror-trinity ksplash-trinity \

@ -38,9 +38,6 @@ if [ "$1" = "purge" ] ; then
update-rc.d tdm remove >/dev/null || true
fi
fi
if [ -d /run/systemd/system ] ; then
systemctl --system daemon-reload >/dev/null || true
fi
#DEBHELPER#

@ -178,4 +178,6 @@ if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
fi
fi
#DEBHELPER#
exit 0

@ -91,6 +91,9 @@ DEB_DH_STRIP_ARGS := --dbg-package=tdebase-trinity-dbg \
-Xtdm -Xtdm_config -Xtdm_greet -Xtdmctl -Xtwin -Xtwin_killer_helper \
-Xtwin_resumer_helper -Xtwin_rules_dialog
DEB_DH_INSTALLINIT_ARGS := --no-start --no-stop-on-upgrade --no-restart-after-upgrade
DEB_DH_SYSTEMD_START_ARGS := --no-start --no-stop-on-upgrade --no-restart-after-upgrade
DOC_HTML_PRUNE := ksplashml kcontrol khelpcenter tdesu knetattach tdeioslave kxkb tdedebugdialog kdcop
PACKAGES_WITH_LIBS := kate-trinity kcontrol-trinity tdebase-trinity-bin kicker-trinity konqueror-trinity ksplash-trinity \

@ -42,9 +42,6 @@ fi
# update-rc.d tdm remove >/dev/null || true
# fi
#fi
#if [ -d /run/systemd/system ] ; then
# systemctl --system daemon-reload >/dev/null || true
#fi
#DEBHELPER#

@ -184,4 +184,6 @@ if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
fi
fi
#DEBHELPER#
exit 0

@ -74,6 +74,9 @@ DEB_FIXPERMS_EXCLUDE := \
DEB_DH_STRIP_ARGS := --dbg-package=tdebase-trinity-dbg
DEB_DH_INSTALLINIT_ARGS := --no-start --no-stop-on-upgrade --no-restart-after-upgrade
DEB_DH_SYSTEMD_START_ARGS := --no-start --no-stop-on-upgrade --no-restart-after-upgrade
DOC_HTML_PRUNE := ksplashml kcontrol khelpcenter tdesu knetattach tdeioslave kxkb tdedebugdialog kdcop
PACKAGES_WITH_LIBS := kate-trinity kcontrol-trinity tdebase-trinity-bin kicker-trinity konqueror-trinity ksplash-trinity \

@ -172,4 +172,6 @@ if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
fi
fi
#DEBHELPER#
exit 0

Loading…
Cancel
Save