summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/package.c')
-rw-r--r--usr.sbin/sysinstall/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index 5a21e32..f1a3b87 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -138,7 +138,7 @@ package_extract(Device *dev, char *name, Boolean depended)
/* Make a couple of paranoid locations for temp files to live if user specified none */
if (!variable_get(VAR_PKG_TMPDIR)) {
/* Set it to a location with as much space as possible */
- variable_set2(VAR_PKG_TMPDIR, "/usr/tmp", 0);
+ variable_set2(VAR_PKG_TMPDIR, "/var/tmp", 0);
}
Mkdir(variable_get(VAR_PKG_TMPDIR));
vsystem("chmod 1777 %s", variable_get(VAR_PKG_TMPDIR));
OpenPOWER on IntegriCloud