diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-12-01 20:25:49 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-12-01 20:29:12 +0100 |
commit | 25478084c1a56c2164aa36d44835f0bea909bf0c (patch) | |
tree | 82bf13a3a2877bcbe32a8ed30f7cb09be3e808ea | |
parent | b89ef6e33b01fa4dd5823c6cf00ec7793afe4bd9 (diff) | |
download | tde-packaging-25478084c1a56c2164aa36d44835f0bea909bf0c.tar.gz tde-packaging-25478084c1a56c2164aa36d44835f0bea909bf0c.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>
(cherry picked from commit 652dadf08b1c2bc4f8bc673e47b27ebbe91487cd)
-rw-r--r-- | debian/_base/tdebase/debian/tdm-trinity.prerm | 6 | ||||
-rw-r--r-- | ubuntu/_base/tdebase/debian/tdm-trinity.prerm | 6 |
2 files changed, 0 insertions, 12 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 diff --git a/ubuntu/_base/tdebase/debian/tdm-trinity.prerm b/ubuntu/_base/tdebase/debian/tdm-trinity.prerm index 6247adb1f..23de3a247 100644 --- a/ubuntu/_base/tdebase/debian/tdm-trinity.prerm +++ b/ubuntu/_base/tdebase/debian/tdm-trinity.prerm @@ -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 |