From f57cc24f49c9dcf9f5f98326d77aab2625950cd4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 10 Mar 2006 17:47:07 +0000 Subject: check harder to see if we need to configure mdkonline --- mdkupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdkupdate') diff --git a/mdkupdate b/mdkupdate index d3342afd..83e73fbb 100755 --- a/mdkupdate +++ b/mdkupdate @@ -147,7 +147,7 @@ if (!$bundle) { my %bundle_vars = getVarsFromSh($bundle); rm_rf($bundle); - $wc->{USER_EMAIL} or system("/usr/sbin/mdkonline"); + $wc->{USER_EMAIL} && $wc->{HOST_ID} && $wc->{HOST_KEY} or system("/usr/sbin/mdkonline"); $wc = mdkonline::read_conf(); $wc->{USER_EMAIL} or die("Configuration not uploaded to Mandriva Online"); -- cgit v1.2.1