aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/package.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-04-01 21:35:24 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-04-01 21:35:24 +0000
commit2e73237d1ba2859eb9539b5f36888cd8d778358f (patch)
tree8be7509f25eecde0b817510b46a17463663ec68d /usr.sbin/sysinstall/package.c
parent8be36692c39581d36526679c1e91e2a9bffdad5c (diff)
Notes
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 5a21e3203087..f1a3b87cb4d5 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));