summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-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};