summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-04 02:50:01 +0100
committerSlávek Banko <[email protected]>2019-01-04 02:50:28 +0100
commit7ac5bbd7e50b198188ea5c2a05f88e96b46548a9 (patch)
tree65bfbfaa922974ad6f5619b7e1811e7cc59cebb6
parent270be7c030c63c370af1df3e680b51628189c501 (diff)
downloadtde-packaging-7ac5bbd7e50b198188ea5c2a05f88e96b46548a9.tar.gz
tde-packaging-7ac5bbd7e50b198188ea5c2a05f88e96b46548a9.zip
DEB tdebase: Rename kdelogo => tdelogo in the tdm configuration during tdm upgrade.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 66bf189d92c61f664564a45ab85af1394cd433cd)
-rw-r--r--debian/lenny/tdebase/debian/tdm-trinity.preinst4
-rw-r--r--debian/squeeze/tdebase/debian/tdm-trinity.preinst4
-rw-r--r--ubuntu/maverick/tdebase/debian/tdm-trinity.preinst4
3 files changed, 12 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
diff --git a/ubuntu/maverick/tdebase/debian/tdm-trinity.preinst b/ubuntu/maverick/tdebase/debian/tdm-trinity.preinst
index 09163c460..ee6aa00a1 100644
--- a/ubuntu/maverick/tdebase/debian/tdm-trinity.preinst
+++ b/ubuntu/maverick/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