aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/remove-theme
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2004-09-08 04:09:43 +0000
committerFlorent Villard <warly@mandriva.com>2004-09-08 04:09:43 +0000
commit8cf968b7d7d7fa29c7f84a9b3602ae791fde0f3d (patch)
tree44388a5df2a70bda8b4e994d4d35786e9702d30a /scripts/remove-theme
parent8b2455ee8c912ab76097084f91f84323c61c2f2e (diff)
downloadbootsplash-8cf968b7d7d7fa29c7f84a9b3602ae791fde0f3d.tar
bootsplash-8cf968b7d7d7fa29c7f84a9b3602ae791fde0f3d.tar.gz
bootsplash-8cf968b7d7d7fa29c7f84a9b3602ae791fde0f3d.tar.bz2
bootsplash-8cf968b7d7d7fa29c7f84a9b3602ae791fde0f3d.tar.xz
bootsplash-8cf968b7d7d7fa29c7f84a9b3602ae791fde0f3d.zip
remove-theme does not require an argument anymore
Diffstat (limited to 'scripts/remove-theme')
-rw-r--r--scripts/remove-theme21
1 files changed, 2 insertions, 19 deletions
diff --git a/scripts/remove-theme b/scripts/remove-theme
index 97b4a05..29b105d 100644
--- a/scripts/remove-theme
+++ b/scripts/remove-theme
@@ -36,22 +36,5 @@ function update_boot () {
fi
}
-function usage () {
- basename=`basename $0`
- cat <<EOF
- $basename <theme>
-
-EOF
- exit 1
-}
-
-theme=$1
-
-[[ -z $theme ]] && usage;
-
-[[ -f $sysconfig ]] && . $sysconfig
-
-if [[ $THEME = $theme ]]; then
- remove_theme
- update_boot
-fi
+remove_theme
+update_boot