summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20121029/2f1a9100
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/2f1a9100
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-1be510f9529cb082f802408b472a77d074b394c0.tar
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz
archives-1be510f9529cb082f802408b472a77d074b394c0.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20121029/2f1a9100')
-rw-r--r--zarb-ml/mageia-dev/attachments/20121029/2f1a9100/attachment-0001.bin26
-rw-r--r--zarb-ml/mageia-dev/attachments/20121029/2f1a9100/attachment.bin26
2 files changed, 52 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20121029/2f1a9100/attachment-0001.bin b/zarb-ml/mageia-dev/attachments/20121029/2f1a9100/attachment-0001.bin
new file mode 100644
index 000000000..7796d4ae5
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20121029/2f1a9100/attachment-0001.bin
@@ -0,0 +1,26 @@
+Index: urpmi
+===================================================================
+--- urpmi (révision 5344)
++++ urpmi (copie de travail)
+@@ -266,8 +266,19 @@
+ urpm::set_env($urpm, $env);
+ } else {
+ if ($< != 0 && !$options{debug__do_not_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"));
++ if ($no_install) {
++ #- writable download directory needed
++ $urpm->{fatal}(
++ 1,
++ N("Only superuser is allowed to use default download directory")
++ ) if ! $urpm->{options}{'download-all'};
++ } else {
++ #- root privileges needed to install binary packages
++ $urpm->{fatal}(
++ 1,
++ N("Only superuser is allowed to install packages")
++ ) if $auto_select || @names || @files;
++ }
+ }
+ }
+
diff --git a/zarb-ml/mageia-dev/attachments/20121029/2f1a9100/attachment.bin b/zarb-ml/mageia-dev/attachments/20121029/2f1a9100/attachment.bin
new file mode 100644
index 000000000..7796d4ae5
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20121029/2f1a9100/attachment.bin
@@ -0,0 +1,26 @@
+Index: urpmi
+===================================================================
+--- urpmi (révision 5344)
++++ urpmi (copie de travail)
+@@ -266,8 +266,19 @@
+ urpm::set_env($urpm, $env);
+ } else {
+ if ($< != 0 && !$options{debug__do_not_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"));
++ if ($no_install) {
++ #- writable download directory needed
++ $urpm->{fatal}(
++ 1,
++ N("Only superuser is allowed to use default download directory")
++ ) if ! $urpm->{options}{'download-all'};
++ } else {
++ #- root privileges needed to install binary packages
++ $urpm->{fatal}(
++ 1,
++ N("Only superuser is allowed to install packages")
++ ) if $auto_select || @names || @files;
++ }
+ }
+ }
+