diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-22 02:26:56 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-22 02:26:56 +0000 |
commit | ccfcb4be51cb23826182847eef6dd71ddf30bcea (patch) | |
tree | d3dc5ba9c6603bd63b55dd4218a655727f73a65d | |
parent | 938d55aaa401f1300dc06a6834d0f518b69c41a5 (diff) | |
download | urpmi-ccfcb4be51cb23826182847eef6dd71ddf30bcea.tar urpmi-ccfcb4be51cb23826182847eef6dd71ddf30bcea.tar.gz urpmi-ccfcb4be51cb23826182847eef6dd71ddf30bcea.tar.bz2 urpmi-ccfcb4be51cb23826182847eef6dd71ddf30bcea.tar.xz urpmi-ccfcb4be51cb23826182847eef6dd71ddf30bcea.zip |
Media reconfiguration did not work with NFS medai
-rw-r--r-- | urpm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -967,6 +967,7 @@ sub update_media { #- check for a reconfig.urpmi file (if not already reconfigured) if (!$media_redone{$medium->{name}}) { my $reconfig_urpmi = reduce_pathname("$medium->{url}/reconfig.urpmi"); + $reconfig_urpmi =~ s,^(removable[^:]*|file)://,,; if (-s $reconfig_urpmi && $urpm->reconfig_urpmi($reconfig_urpmi, $medium->{name})) { $media_redone{$medium->{name}} = 1; redo MEDIA; |