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>
pull/30/head
Slávek Banko 5 years ago
parent 03f2e384c3
commit 652dadf08b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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

@ -97,12 +97,6 @@ else
fi
fi
if [ -n "$REMOVING" ]; then
rm -f /etc/init.d/tdm-trinity
[ ! -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

Loading…
Cancel
Save