diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-06 16:53:27 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-06 16:53:27 +0000 |
commit | 78f08d2a608ef492767231aefd1be5cd120ab5ee (patch) | |
tree | 1823d269e748f2f8b885d1e73288aaccb65db81e | |
parent | baa02be36beb43fef60a1ba5021d2c8d07b00b89 (diff) | |
download | urpmi-78f08d2a608ef492767231aefd1be5cd120ab5ee.tar urpmi-78f08d2a608ef492767231aefd1be5cd120ab5ee.tar.gz urpmi-78f08d2a608ef492767231aefd1be5cd120ab5ee.tar.bz2 urpmi-78f08d2a608ef492767231aefd1be5cd120ab5ee.tar.xz urpmi-78f08d2a608ef492767231aefd1be5cd120ab5ee.zip |
describe what user who clicked on a rpm in file explorer is really doing
-rwxr-xr-x | urpmi | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -249,6 +249,17 @@ if ($install_src) { @names = (); } +#- question to describe what user who clicked on a rpm in file explorer is really doing +if ($X && @files == 1 && @names == 0 && $verbose >= 0) { + gmessage( +N("You are about to install the following software package on your computer: + +%s + +Is it ok to continue?", $files[0])); + $? and exit(1); +} + #- prepare bug report. if ($bug) { mkdir $bug or $urpm->{fatal}(8, (-d $bug ? N("Directory [%s] already exists, please use another directory for bug report or delete it") : N("Unable to create directory [%s] for bug report"), $bug)); |