summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-10 17:47:07 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-10 17:47:07 +0000
commitf57cc24f49c9dcf9f5f98326d77aab2625950cd4 (patch)
treee8f2f6767ab060f1973c9b783864284885f0adaa /mdkupdate
parentc8e2b5d7fd75cea9e620df6f64f8f7e5c2dae701 (diff)
downloadmgaonline-f57cc24f49c9dcf9f5f98326d77aab2625950cd4.tar
mgaonline-f57cc24f49c9dcf9f5f98326d77aab2625950cd4.tar.gz
mgaonline-f57cc24f49c9dcf9f5f98326d77aab2625950cd4.tar.bz2
mgaonline-f57cc24f49c9dcf9f5f98326d77aab2625950cd4.tar.xz
mgaonline-f57cc24f49c9dcf9f5f98326d77aab2625950cd4.zip
check harder to see if we need to configure mdkonline
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
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");