Author: jdsn Date: Fri Apr 8 15:39:36 2011 New Revision: 63756 URL: http://svn.opensuse.org/viewcvs/yast?rev=63756&view=rev Log: make online update script more robust Modified: trunk/registration/src/scripts/online_update Modified: trunk/registration/src/scripts/online_update URL: http://svn.opensuse.org/viewcvs/yast/trunk/registration/src/scripts/online_update?rev=63756&r1=63755&r2=63756&view=diff ============================================================================== --- trunk/registration/src/scripts/online_update (original) +++ trunk/registration/src/scripts/online_update Fri Apr 8 15:39:36 2011 @@ -24,14 +24,15 @@ fi -if [ ! $AOU_ENABLE_CRONJOB = "true" ] +if [ ! "x$AOU_ENABLE_CRONJOB" = "xtrue" ] then echo "Online Update is disabled in ${syscfgfile}. Will not run update." exit 0 fi -if [ ${AOU_SKIP_INTERACTIVE_PATCHES} = "true" ] + +if [ "x${AOU_SKIP_INTERACTIVE_PATCHES}" = "xtrue" ] then skipInteractive="--skip-interactive" else @@ -39,7 +40,7 @@ fi -if [ ${AOU_AUTO_AGREE_WITH_LICENSES} = "true" ] +if [ "x${AOU_AUTO_AGREE_WITH_LICENSES}" = "xtrue" ] then autoAgreeWithLicenses="--auto-agree-with-licenses" else -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org