From 66bf189d92c61f664564a45ab85af1394cd433cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 4 Jan 2019 02:50:01 +0100 Subject: DEB tdebase: Rename kdelogo => tdelogo in the tdm configuration during tdm upgrade. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/lenny/tdebase/debian/tdm-trinity.preinst | 4 ++++ debian/squeeze/tdebase/debian/tdm-trinity.preinst | 4 ++++ ubuntu/maverick/tdebase/debian/tdm-trinity.preinst | 4 ++++ 3 files changed, 12 insertions(+) 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 -- cgit v1.2.1