summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-04 02:50:01 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-01-04 02:50:01 +0100
commit66bf189d92c61f664564a45ab85af1394cd433cd (patch)
tree692fa89d380a06ac0898b7957df366c31a5d0678 /debian
parent7f15513aeb4a823b750fbd18bb29aaa4856c51fe (diff)
downloadtde-packaging-66bf189d92c61f664564a45ab85af1394cd433cd.tar.gz
tde-packaging-66bf189d92c61f664564a45ab85af1394cd433cd.zip
DEB tdebase: Rename kdelogo => tdelogo in the tdm configuration during tdm upgrade.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian')
-rw-r--r--debian/lenny/tdebase/debian/tdm-trinity.preinst4
-rw-r--r--debian/squeeze/tdebase/debian/tdm-trinity.preinst4
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/lenny/tdebase/debian/tdm-trinity.preinst b/debian/lenny/tdebase/debian/tdm-trinity.preinst
index c26af6803..6d9624bf9 100644
--- a/debian/lenny/tdebase/debian/tdm-trinity.preinst
+++ b/debian/lenny/tdebase/debian/tdm-trinity.preinst
@@ -3,6 +3,10 @@
case "$1" in
upgrade)
+ # rename kdelogo => tdelogo
+ grep -rl "kdelogo" /etc/trinity/tdm/tdm*rc | tr "\n" "\0" | \
+ xargs -r0 sed -i -e "s|kdelogo|tdelogo|g"
+
rm -f /etc/trinity/debian/tdm-update-menu.sh
rm -f /etc/trinity/debian/tdm.options
rm -f /etc/trinity/tdm/pixmaps/XFree86bw.xpm
diff --git a/debian/squeeze/tdebase/debian/tdm-trinity.preinst b/debian/squeeze/tdebase/debian/tdm-trinity.preinst
index c26af6803..6d9624bf9 100644
--- a/debian/squeeze/tdebase/debian/tdm-trinity.preinst
+++ b/debian/squeeze/tdebase/debian/tdm-trinity.preinst
@@ -3,6 +3,10 @@
case "$1" in
upgrade)
+ # rename kdelogo => tdelogo
+ grep -rl "kdelogo" /etc/trinity/tdm/tdm*rc | tr "\n" "\0" | \
+ xargs -r0 sed -i -e "s|kdelogo|tdelogo|g"
+
rm -f /etc/trinity/debian/tdm-update-menu.sh
rm -f /etc/trinity/debian/tdm.options
rm -f /etc/trinity/tdm/pixmaps/XFree86bw.xpm