summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-01-15 16:57:15 +0000
committerOlivier Blin <oblin@mandriva.org>2004-01-15 16:57:15 +0000
commit40d1bb84fef9ec229bcb117eece7a93886cada86 (patch)
tree1265f9d60a96f2d23e59aadd143ea5a70cd7153d /urpmq
parentcf919b18788df5ed01b43018941c262a51596dfe (diff)
downloadurpmi-40d1bb84fef9ec229bcb117eece7a93886cada86.tar
urpmi-40d1bb84fef9ec229bcb117eece7a93886cada86.tar.gz
urpmi-40d1bb84fef9ec229bcb117eece7a93886cada86.tar.bz2
urpmi-40d1bb84fef9ec229bcb117eece7a93886cada86.tar.xz
urpmi-40d1bb84fef9ec229bcb117eece7a93886cada86.zip
- urpmi, urpme, urpmq: / can be used as root, it's not a particular case
- urpm.pm: lock rpm db in chroot, and urpmi db in / - urpmi: ask to be root to install binary rpms in chroot
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq3
1 files changed, 0 insertions, 3 deletions
diff --git a/urpmq b/urpmq
index 4abf1323..394c66a9 100755
--- a/urpmq
+++ b/urpmq
@@ -166,9 +166,6 @@ while (defined($_ = shift @ARGV)) {
$query->{src} = 0; #- reset switch for next package.
}
-# We assume --root / is stupid (P. Terjan idea)
-$root =~ s!^/*$!!;
-
#- remove verbose if not asked.
$query->{verbose} or $urpm->{log} = sub {};