diff options
author | Olivier Blin <blino@mageia.org> | 2010-11-25 18:07:24 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2010-11-25 18:07:24 +0000 |
commit | 53c883b7d7a670655a108515a99ae268d7bddcf0 (patch) | |
tree | 0a0a95a7177b503e0cd94385857ef31d4c6b5c20 /lib | |
parent | ad75ca17c65e7a40d44e4e0dc3c6d6617fc92170 (diff) | |
download | iurt-53c883b7d7a670655a108515a99ae268d7bddcf0.tar iurt-53c883b7d7a670655a108515a99ae268d7bddcf0.tar.gz iurt-53c883b7d7a670655a108515a99ae268d7bddcf0.tar.bz2 iurt-53c883b7d7a670655a108515a99ae268d7bddcf0.tar.xz iurt-53c883b7d7a670655a108515a99ae268d7bddcf0.zip |
do not add rpm extension when building packages list
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Iurt/Chroot.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 5431617..d8ca8ff 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -541,7 +541,7 @@ sub build_chroot { sudo($run, $config, "--rm", "$tmp_chroot/etc/urpmi/urpmi.cfg"); sudo($run, $config, "--rm", "$tmp_chroot/var/lib/urpmi/*"); - system("rpm -qa --root $tmp_chroot --qf '\%{NAME}-\%{VERSION}-\%{RELEASE}.\%{ARCH}.rpm\n' | sort > $tmp_chroot/tmp/qa"); + system("rpm -qa --root $tmp_chroot --qf '\%{NAME}-\%{VERSION}-\%{RELEASE}.\%{ARCH}\n' | sort > $tmp_chroot/tmp/qa"); sudo($run, $config, "--cp", "$tmp_chroot/tmp/qa", "$tmp_chroot/var/log/qa"); unlink("$tmp_chroot/tmp/qa"); |