summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/core
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-11-27 12:15:04 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-11-27 12:53:57 +0100
commit4ae59bb29dff8b052e04c832e0b142828e2994b4 (patch)
tree7c93b019eec473761523648f6b97fd865b0ef378 /ubuntu/_base/core
parent4784f17e1a71dfd44fbd65ba23f8958b35cad0d0 (diff)
downloadtde-packaging-4ae59bb29dff8b052e04c832e0b142828e2994b4.tar.gz
tde-packaging-4ae59bb29dff8b052e04c832e0b142828e2994b4.zip
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> (cherry picked from commit 55fbcd419d4291d8234ec10577436c5c30dbff61)
Diffstat (limited to 'ubuntu/_base/core')
-rwxr-xr-xubuntu/_base/core/tdebase/debian/rules3
-rw-r--r--ubuntu/_base/core/tdebase/debian/tdm-trinity.prerm2
2 files changed, 5 insertions, 0 deletions
diff --git a/ubuntu/_base/core/tdebase/debian/rules b/ubuntu/_base/core/tdebase/debian/rules
index df3327542..cbfa1c395 100755
--- a/ubuntu/_base/core/tdebase/debian/rules
+++ b/ubuntu/_base/core/tdebase/debian/rules
@@ -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 \
diff --git a/ubuntu/_base/core/tdebase/debian/tdm-trinity.prerm b/ubuntu/_base/core/tdebase/debian/tdm-trinity.prerm
index 23de3a247..d51bcd8dc 100644
--- a/ubuntu/_base/core/tdebase/debian/tdm-trinity.prerm
+++ b/ubuntu/_base/core/tdebase/debian/tdm-trinity.prerm
@@ -172,4 +172,6 @@ if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
fi
fi
+#DEBHELPER#
+
exit 0