summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-17 21:58:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-17 21:58:32 +0000
commit4f96228201ba5406b69c0bd7bf67781017866d6e (patch)
treeadae5a014b0106459a07038e1e6be69b984734c6 /etc/inc/pkg-utils.inc
parente265e49fa8261c049fee5b0f8ce96ab50e6325e0 (diff)
downloadpfsense-4f96228201ba5406b69c0bd7bf67781017866d6e.zip
pfsense-4f96228201ba5406b69c0bd7bf67781017866d6e.tar.gz
No need to make the same directory twice
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 11a4105..28fee6c 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -216,7 +216,6 @@ function get_pkg_depends($pkg_name, $filetype = ".xml", $format = "files", $retu
function sync_package($pkg_name, $sync_depends = true, $show_message = false) {
global $config;
- if(!file_exists("/usr/local/pkg")) mwexec("/bin/mkdir -p /usr/local/pkg/pf");
if(!$config['installedpackages']['package']) return;
if(!is_numeric($pkg_name)) {
$pkg_id = get_pkg_id($pkg_name);
OpenPOWER on IntegriCloud