summaryrefslogtreecommitdiffstats
path: root/debian/_base/tdebase/debian/tdm-trinity.postrm
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-28 03:51:59 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-28 03:51:59 +0100
commit03f2e384c3a6d25d59b3569cfe1291c443567aa5 (patch)
treead419f0fdd93e857f833a2764e07addb514135c0 /debian/_base/tdebase/debian/tdm-trinity.postrm
parent8e84cb1ed0f7c5d54978e13266dceb2b2203921b (diff)
downloadtde-packaging-03f2e384c3a6d25d59b3569cfe1291c443567aa5.tar.gz
tde-packaging-03f2e384c3a6d25d59b3569cfe1291c443567aa5.zip
DEB tdebase: Ignore the result of the insserv and update-rc.d calls
in postinst/postrm scripts. This will prevent failure due to errors in the init scripts of other packages. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian/_base/tdebase/debian/tdm-trinity.postrm')
-rw-r--r--debian/_base/tdebase/debian/tdm-trinity.postrm2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/_base/tdebase/debian/tdm-trinity.postrm b/debian/_base/tdebase/debian/tdm-trinity.postrm
index 0cd027c45..f20297bab 100644
--- a/debian/_base/tdebase/debian/tdm-trinity.postrm
+++ b/debian/_base/tdebase/debian/tdm-trinity.postrm
@@ -35,7 +35,7 @@ fi
if [ "$1" = "purge" ] ; then
if [ -x "`which update-rc.d 2>/dev/null`" ]; then
- update-rc.d tdm remove >/dev/null
+ update-rc.d tdm remove >/dev/null || true
fi
fi
if [ -d /run/systemd/system ] ; then