summaryrefslogtreecommitdiffstats
path: root/gurpmi
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-09 09:45:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-09 09:45:45 +0000
commit68c58e3441efe18bce3ddfa207d56b9712141b99 (patch)
tree7b611a41dabeb903717add956f6a9ca6944ba2c6 /gurpmi
parent047d2143bba141cc6bc3ccc42ee71618e18463cb (diff)
downloadurpmi-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)
Diffstat (limited to 'gurpmi')
-rwxr-xr-xgurpmi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi b/gurpmi
index 62040ef2..993442c9 100755
--- a/gurpmi
+++ b/gurpmi
@@ -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: