summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-09-12 08:23:35 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-09-12 08:23:35 +0000
commitf094d566cf777ec02f26533992db777dea13a69c (patch)
treed3402f70f518f18353b522ec5f7579345a0a8f7b /urpm.pm
parent6ca3fd598e802dd1100ce5cd274c67b91da2f0d5 (diff)
downloadurpmi-f094d566cf777ec02f26533992db777dea13a69c.tar
urpmi-f094d566cf777ec02f26533992db777dea13a69c.tar.gz
urpmi-f094d566cf777ec02f26533992db777dea13a69c.tar.bz2
urpmi-f094d566cf777ec02f26533992db777dea13a69c.tar.xz
urpmi-f094d566cf777ec02f26533992db777dea13a69c.zip
Something is testing for definedness instead of truth, but I'm not sure what.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 9066e48e..913ff48a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -860,7 +860,7 @@ sub add_distrib_media {
no_reload_config => 1, #- no need to reload config each time, since we don't update the media
%options,
# the following override %options
- update => $is_update_media ? 1 : 0,
+ update => $is_update_media ? 1 : undef,
);
++$medium;
}