summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-06-11 16:17:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-06-11 16:17:00 +0000
commitd332035481b7bc08edbd192e5c6c3d67dafcd19d (patch)
tree8d851b3438828550cb147a5cf922b23b3946c613
parent2a880e8ce60d07d4a1f86d07534cfb0eb3b2c146 (diff)
downloaddrakx-d332035481b7bc08edbd192e5c6c3d67dafcd19d.tar
drakx-d332035481b7bc08edbd192e5c6c3d67dafcd19d.tar.gz
drakx-d332035481b7bc08edbd192e5c6c3d67dafcd19d.tar.bz2
drakx-d332035481b7bc08edbd192e5c6c3d67dafcd19d.tar.xz
drakx-d332035481b7bc08edbd192e5c6c3d67dafcd19d.zip
(main): don't check /usr/bin/urpmi, better check /usr/sbin/urpmi.update
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index ac9f40db0..4706212f3 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -597,7 +597,7 @@ sub main {
#- make sure failed upgrade will not hurt too much.
install_steps::cleanIfFailedUpgrade($o);
- -e "$o->{prefix}/usr/bin/urpmi" or eval { commands::rm("-rf", "$o->{prefix}/var/lib/urpmi") };
+ -e "$o->{prefix}/usr/sbin/urpmi.update" or eval { commands::rm("-rf", "$o->{prefix}/var/lib/urpmi") };
#- mainly for auto_install's
run_program::run("bash", "-c", $o->{postInstallNonRooted}) if $o->{postInstallNonRooted};