diff options
Diffstat (limited to 'scripts/remove-theme')
-rw-r--r-- | scripts/remove-theme | 21 |
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 |