diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-03-26 21:30:07 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-03-26 21:30:07 +0000 |
commit | 3600a1fd1e9398fad208e3e94c6def2a8e84314a (patch) | |
tree | d2a5701e3436aff6a7c61e29f8254164505f23f4 /perl-install/ftp.pm | |
parent | aaab5d0fa8f4a6eef4c1d2ee6af9651f6e576db5 (diff) | |
download | drakx-backup-do-not-use-3600a1fd1e9398fad208e3e94c6def2a8e84314a.tar drakx-backup-do-not-use-3600a1fd1e9398fad208e3e94c6def2a8e84314a.tar.gz drakx-backup-do-not-use-3600a1fd1e9398fad208e3e94c6def2a8e84314a.tar.bz2 drakx-backup-do-not-use-3600a1fd1e9398fad208e3e94c6def2a8e84314a.tar.xz drakx-backup-do-not-use-3600a1fd1e9398fad208e3e94c6def2a8e84314a.zip |
no_comment
Diffstat (limited to 'perl-install/ftp.pm')
-rw-r--r-- | perl-install/ftp.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/ftp.pm b/perl-install/ftp.pm index d1a7ac241..014fe7237 100644 --- a/perl-install/ftp.pm +++ b/perl-install/ftp.pm @@ -54,7 +54,8 @@ sub getFile { my $f = shift; my ($ftp, $retr) = new(@_ ? @_ : fromEnv); $$retr->close if $$retr; - $$retr = $ftp->retr(install_any::relGetFile($f)); + $$retr = $ftp->retr(install_any::relGetFile($f)) or rewindGetFile(); + $$retr ||= $ftp->retr(install_any::relGetFile($f)); } sub rewindGetFile() { |