summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-07-24 19:20:40 +0000
committerColin Smith <colin@pfsense.org>2005-07-24 19:20:40 +0000
commit90a2ab46b5eaf14c68e424722a90b5d8b3585d74 (patch)
tree0ac2d2b1f79742ad7fd66820067f6e1c67d2ea6b /etc/inc/pkg-utils.inc
parentb51f035c4968bf821e1b78d4d0680e75bed7c6fb (diff)
downloadpfsense-90a2ab46b5eaf14c68e424722a90b5d8b3585d74.zip
pfsense-90a2ab46b5eaf14c68e424722a90b5d8b3585d74.tar.gz
Don't increment $dependlevel if the dependency is already installed.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index a5e2537..a268aed 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -286,7 +286,7 @@ function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url =
if(is_freebsd_pkg_installed($working_depend[1]) === false) {
pkg_fetch_recursive($working_depend[1], $depend_filename, $dependlevel + 1, $base_url);
} else {
- $dependlevel++;
+// $dependlevel++;
$static_output .= "\n" . str_repeat(" ", $dependlevel * 2) . $working_depend[1] . " ";
@fwrite($fd_log, $working_depend[1] . "\n");
}
OpenPOWER on IntegriCloud