aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/remove-theme
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/remove-theme')
-rw-r--r--scripts/remove-theme8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/remove-theme b/scripts/remove-theme
index 14636c1..f7b8dde 100644
--- a/scripts/remove-theme
+++ b/scripts/remove-theme
@@ -12,7 +12,11 @@ function remove_theme () {
cp -f $sysconfig $tmpfile && rm -f $sysconfig
ok=
while read line;do
- if [[ $line == THEME=* ]];then
+ if [[ $line == SPLASH=* ]];then
+ echo "SPLASH=no" >> $sysconfig
+ continue;
+ fi
+ if [[ $line == THEME=* ]];then
echo "THEME=" >> $sysconfig
ok=yes
continue;
@@ -20,7 +24,7 @@ function remove_theme () {
echo $line >> $sysconfig
done < $tmpfile
if [[ -z $ok ]];then
- echo "THEME=$toswitch" >> $sysconfig
+ echo "THEME=" >> $sysconfig
fi
rm -f $tmpfile
rm -f /etc/bootsplash/current