From 4f96228201ba5406b69c0bd7bf67781017866d6e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 17 Nov 2005 21:58:32 +0000 Subject: No need to make the same directory twice --- etc/inc/pkg-utils.inc | 1 - 1 file changed, 1 deletion(-) 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); -- cgit v1.1