diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-16 20:11:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-16 20:11:12 +0000 |
commit | 425cbd0a58a096be08e7ac04efafedc5ab008296 (patch) | |
tree | 53924af7019844fe15bff7a0cae3bdfcbf014d5a /usr | |
parent | d70190d938eceee9ee080e45c719f96418d5797f (diff) | |
download | pfsense-425cbd0a58a096be08e7ac04efafedc5ab008296.zip pfsense-425cbd0a58a096be08e7ac04efafedc5ab008296.tar.gz |
Make sure /usr/local/pkg/ exists
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
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; /* |