summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-16 20:11:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-16 20:11:12 +0000
commit425cbd0a58a096be08e7ac04efafedc5ab008296 (patch)
tree53924af7019844fe15bff7a0cae3bdfcbf014d5a /usr
parentd70190d938eceee9ee080e45c719f96418d5797f (diff)
downloadpfsense-425cbd0a58a096be08e7ac04efafedc5ab008296.zip
pfsense-425cbd0a58a096be08e7ac04efafedc5ab008296.tar.gz
Make sure /usr/local/pkg/ exists
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 4e6d99f..6f36c16 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -30,6 +30,8 @@
require("guiconfig.inc");
require("xmlparse_pkg.inc");
+if(!file_exists("/usr/local/pkg/")) mwexec("mkdir -p /usr/local/pkg/");
+
$pb_percent = 1;
/*
OpenPOWER on IntegriCloud