summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-13 18:33:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-13 18:33:21 +0000
commit12bee50e28f9d6523c62f90b537419c48aba1b74 (patch)
tree597151c878b027f144b96dcd3672ba657927a1f5
parent2840d2a176f35bff8e8d66dc9602cf9c55f7e336 (diff)
downloaddrakx-12bee50e28f9d6523c62f90b537419c48aba1b74.tar
drakx-12bee50e28f9d6523c62f90b537419c48aba1b74.tar.gz
drakx-12bee50e28f9d6523c62f90b537419c48aba1b74.tar.bz2
drakx-12bee50e28f9d6523c62f90b537419c48aba1b74.tar.xz
drakx-12bee50e28f9d6523c62f90b537419c48aba1b74.zip
(inspect): use a safer dir when standalone
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index e6660cfb7..a26666ae9 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -374,7 +374,7 @@ sub inspect {
isMountableRW($part) or return;
- my $dir = "/tmp/inspect_tmp_dir";
+ my $dir = $::isInstall ? "/tmp/inspect_tmp_dir" : "/root/.inspect_tmp_dir";
if ($part->{isMounted}) {
$dir = ($prefix || '') . $part->{mntpoint};