summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20121029/b874af54/attachment-0003.obj
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20121029/b874af54/attachment-0003.obj
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20121029/b874af54/attachment-0003.obj')
-rw-r--r--zarb-ml/mageia-dev/attachments/20121029/b874af54/attachment-0003.obj13
1 files changed, 13 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20121029/b874af54/attachment-0003.obj b/zarb-ml/mageia-dev/attachments/20121029/b874af54/attachment-0003.obj
new file mode 100644
index 000000000..96257e621
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20121029/b874af54/attachment-0003.obj
@@ -0,0 +1,13 @@
+diff --git a/urpmi b/urpmi
+index f515f94..10bca45 100755
+--- a/urpmi
++++ b/urpmi
+@@ -260,7 +260,7 @@ if ($bug) {
+ if ($env) {
+ urpm::set_env($urpm, $env);
+ } else {
+- if ($< != 0 && !$options{debug__do_not_install}) {
++ if ($< != 0 && !$options{debug__do_not_install} && !$no_install) {
+ #- need to be root if binary rpms are to be installed
+ $auto_select || @names || @files and $urpm->{fatal}(1, N("Only superuser is allowed to install packages"));
+ } \ No newline at end of file