--- config 2008-10-30 10:50:41.000000000 -0500 +++ config.mine 2008-12-03 23:13:29.000000000 -0600 @@ -42,7 +42,7 @@ # so we need to check if its kdm-kde4 or another display manager if [ "$CURRENT_DEFAULT" = "/usr/lib/kde4/bin/kdm" ]; then CURRENT_DEFAULT=${THIS_PACKAGE}-kde4 - else + elif [ "$CURRENT_DEFAULT" != "" ]; then CURRENT_DEFAULT=$(basename $CURRENT_DEFAULT) fi if [ -n "$CURRENT_DEFAULT" ]; then