db_get $PACKAGE/enable
UPDATE_MOTD="${RET:-true}"
- if [ $UPDATE_MOTD = 'true' ]
- then
- UPDATE_MOTD='yes'
- fi
+ [ $UPDATE_MOTD = 'true' ] && UPDATE_MOTD='yes'
# Support the old variable name.
- if [ "x$RUN" != "x" ]
- then
- UPDATE_MOTD=$RUN
- fi
+ [ "x$RUN" != "x" ] && UPDATE_MOTD=$RUN
# Support the old variable name.
- if [ "x$ARGS" != "x" ]
- then
- UPDATE_MOTD_ARGS=$ARGS
- fi
+ [ "x$ARGS" != "x" ] && UPDATE_MOTD_ARGS=$ARGS
db_get $PACKAGE/email
EMAIL="${RET:-none}"