diff options
Diffstat (limited to 'urpmi')
-rwxr-xr-x | urpmi | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -238,6 +238,10 @@ while (defined($_ = shift @argv)) { } $src = 0; #- reset switch for next package. } + +# We assume --root / is stupid (P. Terjan idea) +$root =~ s!^/*$!!; + #- use install_src to promote all names as src package. if ($install_src) { @files and $urpm->{fatal}(1, N("What can be done with binary rpm files when using --install-src")); |