summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-12-01 20:25:49 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-12-01 20:25:49 +0100
commit652dadf08b1c2bc4f8bc673e47b27ebbe91487cd (patch)
treea249fe7a9016fb144aa4287e9209374dd81bb79c /debian
parent03f2e384c3a6d25d59b3569cfe1291c443567aa5 (diff)
downloadtde-packaging-652dadf08b1c2bc4f8bc673e47b27ebbe91487cd.tar.gz
tde-packaging-652dadf08b1c2bc4f8bc673e47b27ebbe91487cd.zip
DEB tdebase: Do not remove TDM init scripts from /etc by prerm script
because these files are managed by dpkg as configuration files and when these files are deleted, a new version of the files is not installed from the package. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian')
-rw-r--r--debian/_base/tdebase/debian/tdm-trinity.prerm6
1 files changed, 0 insertions, 6 deletions
diff --git a/debian/_base/tdebase/debian/tdm-trinity.prerm b/debian/_base/tdebase/debian/tdm-trinity.prerm
index 7739d1d52..eeecadfc5 100644
--- a/debian/_base/tdebase/debian/tdm-trinity.prerm
+++ b/debian/_base/tdebase/debian/tdm-trinity.prerm
@@ -103,12 +103,6 @@ else
fi
fi
-if [ -n "$REMOVING" ]; then
- rm -f /etc/init.d/tdm
- [ ! -e /etc/init/tdm-trinity.conf ] || \
- rm -f /etc/init/tdm-trinity.conf
-fi
-
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then