aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/remove-theme
diff options
context:
space:
mode:
authorMageia SVN-Git Migration <svn-git-migration@mageia.org>2011-04-16 15:34:46 +0100
committerMageia SVN-Git Migration <svn-git-migration@mageia.org>2011-04-16 15:34:46 +0100
commitc88eb6c686a74edf06234f181596212fa160653c (patch)
treed282007aa5427d9fdc2642de444ef3befeb349cb /scripts/remove-theme
parent3df88d5aac1b924d0b37864c85e19e3378c0b382 (diff)
downloadbootsplash-c88eb6c686a74edf06234f181596212fa160653c.tar
bootsplash-c88eb6c686a74edf06234f181596212fa160653c.tar.gz
bootsplash-c88eb6c686a74edf06234f181596212fa160653c.tar.bz2
bootsplash-c88eb6c686a74edf06234f181596212fa160653c.tar.xz
bootsplash-c88eb6c686a74edf06234f181596212fa160653c.zip
Synthesized commit during git-svn import combining previous Mandriva history with Magiea.
This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r908 | blino | 2011-04-16 15:34:46 +0100 (Sat, 16 Apr 2011) | 1 line initial bootsplash import (cleaned from Mdv) ------------------------------------------------------------------------
Diffstat (limited to 'scripts/remove-theme')
-rw-r--r--scripts/remove-theme8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/remove-theme b/scripts/remove-theme
index 7bfe9e5..90e1682 100644
--- a/scripts/remove-theme
+++ b/scripts/remove-theme
@@ -13,7 +13,6 @@ function get_current_theme () {
[[ $opt != THEME=* ]] && continue
theme=${opt##*=}
done < $sysconfig
- #[[ -z $theme ]] && theme="Mandriva"
echo $theme
}
@@ -47,13 +46,6 @@ function update_boot () {
}
theme_to_remove=$1
-if [ "$theme_to_remove" = Mandrakelinux ]; then
- # in case we are upgrading mandrakelinux-theme to mandriva-theme
- # "remove-theme Mandrakelinux" will be called thinking there is no theme anymore
- grep -qi "THEME=Mandriva" $sysconfig && exit 0
-fi
-
-
current_theme=$(get_current_theme)
if [ -z "$theme_to_remove" -o "$theme_to_remove" = "$current_theme" ]; then
echo Removing $current_theme theme