diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-09 09:45:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-09 09:45:45 +0000 |
commit | 68c58e3441efe18bce3ddfa207d56b9712141b99 (patch) | |
tree | 7b611a41dabeb903717add956f6a9ca6944ba2c6 | |
parent | 047d2143bba141cc6bc3ccc42ee71618e18463cb (diff) | |
download | urpmi-68c58e3441efe18bce3ddfa207d56b9712141b99.tar urpmi-68c58e3441efe18bce3ddfa207d56b9712141b99.tar.gz urpmi-68c58e3441efe18bce3ddfa207d56b9712141b99.tar.bz2 urpmi-68c58e3441efe18bce3ddfa207d56b9712141b99.tar.xz urpmi-68c58e3441efe18bce3ddfa207d56b9712141b99.zip |
display basename of src.rpm so that potential charset issues in directory are
removed (#44664)
-rwxr-xr-x | gurpmi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,6 +12,7 @@ BEGIN { #- set up a safe path and environment use Gtk2; use gurpmi; +use urpm::util; sub usage() { gurpmi::usage() } @@ -69,7 +70,7 @@ if (!$gurpmi::options{auto} && @all_rpms + @gurpmi::names) { You probably didn't want to install it on your computer (installing it would allow you to make modifications to its sourcecode then compile it). -What would you like to do?", $srpms->[0]) +What would you like to do?", basename($srpms->[0])) : @all_rpms == 0 ? N("You are about to install the following software packages on your computer: |