summaryrefslogtreecommitdiffstats
path: root/urpme
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 /urpme
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 'urpme')
-rw-r--r--urpme3
1 files changed, 0 insertions, 3 deletions
diff --git a/urpme b/urpme
index 59f1a610..1d6efb9c 100644
--- a/urpme
+++ b/urpme
@@ -68,9 +68,6 @@ while (defined($_ = shift @ARGV)) {
push @l, $_;
}
-# We assume --root / is stupid (P. Terjan idea)
-$root =~ s!^/*$!!;
-
my $urpm = new urpm;
my $state = {};