CVS commit by woebbe: - it's "false" and not "no" - create user icecc if it doesn't exist
M +8 -11 icecc.postinst 1.2 --- kdenonbeta/icecream/icecream/debian/icecc.postinst #1.1:1.2 @@ -86,7 +86,7 @@ # Start also the scheduler? # -# START_ICECC_SCHEDULER="no" +# START_ICECC_SCHEDULER="false" -START_ICECC_SCHEDULER="no" +START_ICECC_SCHEDULER="false" # @@ -112,14 +112,11 @@ ICECC_USER=icecc - # First time installation only. Upgrades skip this. - if [ "$2" = "" ]; then - echo Creating $ICECC_USER user... - # Create user - id $ICECC_USER > /dev/null 2>&1 || - adduser --quiet --system --ingroup nogroup \ - --home / --no-create-home $ICECC_USER + # Create user + id $ICECC_USER > /dev/null 2>&1 || + ( echo Creating $ICECC_USER user... ; + adduser --quiet --system --ingroup nogroup \ + --home / --no-create-home $ICECC_USER ) - chown $ICECC_USER /var/cache/icecc - fi + chown $ICECC_USER /var/cache/icecc db_stop