From 652dadf08b1c2bc4f8bc673e47b27ebbe91487cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 1 Dec 2019 20:25:49 +0100 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/_base/tdebase/debian/tdm-trinity.prerm | 6 ------ 1 file changed, 6 deletions(-) (limited to 'debian') 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 -- cgit v1.2.1