summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/_base/tdebase/debian/tdm-trinity.postinst4
-rw-r--r--debian/_base/tdebase/debian/tdm-trinity.postrm2
2 files changed, 3 insertions, 3 deletions
diff --git a/debian/_base/tdebase/debian/tdm-trinity.postinst b/debian/_base/tdebase/debian/tdm-trinity.postinst
index 253b73bf5..aa9808c7e 100644
--- a/debian/_base/tdebase/debian/tdm-trinity.postinst
+++ b/debian/_base/tdebase/debian/tdm-trinity.postinst
@@ -144,10 +144,10 @@ esac
if [ -x "/etc/init.d/tdm" ]; then
if [ -x "`which insserv 2>/dev/null`" ]; then
- insserv tdm >/dev/null
+ insserv tdm >/dev/null || true
else
if [ -x "`which update-rc.d 2>/dev/null`" ]; then
- update-rc.d tdm defaults 13 01 >/dev/null
+ update-rc.d tdm defaults 13 01 >/dev/null || true
fi
fi
fi
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