diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 08:26:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 08:26:22 +0000 |
commit | a5fabe1bfe139eb4a02f6f72d5de89dafda77d47 (patch) | |
tree | 6dcaee9441f77cd9f2810ce3d6c8c73e7c687930 /urpmf | |
parent | 64a2cd3538ead42b53d8db1391a2c95532062bdb (diff) | |
download | urpmi-a5fabe1bfe139eb4a02f6f72d5de89dafda77d47.tar urpmi-a5fabe1bfe139eb4a02f6f72d5de89dafda77d47.tar.gz urpmi-a5fabe1bfe139eb4a02f6f72d5de89dafda77d47.tar.bz2 urpmi-a5fabe1bfe139eb4a02f6f72d5de89dafda77d47.tar.xz urpmi-a5fabe1bfe139eb4a02f6f72d5de89dafda77d47.zip |
fix typo
Diffstat (limited to 'urpmf')
-rwxr-xr-x | urpmf | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -193,9 +193,9 @@ if ($env) { #- lock to avoid concurrent media updates, #- but don't die if it doesn't work local $urpm->{fatal} = sub { printf STDERR "%s\n", $_[1] }; - $urpm->shlock_urpmi_db; + $urpm->lock_urpmi_db; } -my $use_hdlist = grep { $usedtags{$_} } qw( +my $need_hdlist = grep { $usedtags{$_} } qw( buildhost buildtime conf_files @@ -209,19 +209,18 @@ my $use_hdlist = grep { $usedtags{$_} } qw( ); $urpm->configure( nocheck_access => 1, - noskipping => 1, + no_skiplist => 1, media => $media, excludemedia => $excludemedia, sortmedia => $sortmedia, synthesis => $synthesis, update => $update, callback => $callback, - call_back_only_once => 1, - hdlist => $use_hdlist, + need_hdlist => $need_hdlist, ); $urpm->unlock_urpmi_db; -if ($use_hdlist) { +if ($need_hdlist) { # @hdmedia is the list of all media searched that use hdlists my @hdmedia = grep { !$_->{synthesis} && !$_->{removable} && !$_->{ignore}; |