diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-18 16:46:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-18 16:46:15 +0000 |
commit | 66ab26598afa8239868d32b5118304c629dafe81 (patch) | |
tree | 1f63e8243f05ef4c4d93a5f6942cdba0ac2541cb /urpm.pm | |
parent | 1c459d805a75d0c1931d651c04df3ed01489d1c7 (diff) | |
download | urpmi-66ab26598afa8239868d32b5118304c629dafe81.tar urpmi-66ab26598afa8239868d32b5118304c629dafe81.tar.gz urpmi-66ab26598afa8239868d32b5118304c629dafe81.tar.bz2 urpmi-66ab26598afa8239868d32b5118304c629dafe81.tar.xz urpmi-66ab26598afa8239868d32b5118304c629dafe81.zip |
- urpmi
o --install-src will succesfully installed src.rpm from
/var/cache/urpmi/rpms/* (unless post-clean is 0)
we could not do that by default because "urpmi --install-src" as user could
not download the file
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -113,6 +113,12 @@ sub userdir { $dir; } +sub is_temporary_file { + my ($urpm, $f) = @_; + + begins_with($f, $urpm->{cachedir}); +} + sub set_files { my ($urpm, $urpmi_root) = @_; my %h = ( |