From 8cf968b7d7d7fa29c7f84a9b3602ae791fde0f3d Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Wed, 8 Sep 2004 04:09:43 +0000 Subject: remove-theme does not require an argument anymore --- scripts/remove-theme | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'scripts/remove-theme') 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 - exit 1 -} - -theme=$1 - -[[ -z $theme ]] && usage; - -[[ -f $sysconfig ]] && . $sysconfig - -if [[ $THEME = $theme ]]; then - remove_theme - update_boot -fi +remove_theme +update_boot -- cgit v1.2.1