summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-29 20:06:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-29 20:06:34 +0000
commit26a26ef79de877dd17d5b75bf008b8e35ee84e31 (patch)
tree733c4e2007675027268bddb6f4220cca7d32d9ca /etc/inc
parent4bf3f3f108f26dd5ec5927b8e8d2d05405c25068 (diff)
downloadpfsense-26a26ef79de877dd17d5b75bf008b8e35ee84e31.zip
pfsense-26a26ef79de877dd17d5b75bf008b8e35ee84e31.tar.gz
Add missing / directory seperator. This should hopefully fix squid from reinstalling itself a million times on bootup.
Diffstat (limited to 'etc/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 57d7cdb..fc77f10 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -284,7 +284,7 @@ function sync_package($pkg_name, $sync_depends = true, $show_message = false) {
$depends = get_pkg_depends($pkg_name, ".xml", "files", 1); // Call dependency handler and do a little more error checking.
if(is_array($depends)) {
foreach($depends as $item) {
- if(!file_exists("/usr/local/pkg" . $item)) {
+ if(!file_exists("/usr/local/pkg/" . $item)) {
file_notice($package['name'], "The {$package['name']} package is missing required dependencies and must be reinstalled.", "Packages", "/pkg_mgr_install.php?mode=reinstallpkg&pkg={$package['name']}", 1);
log_error("Could not find {$item}. Reinstalling package.");
install_package($pkg_name);
OpenPOWER on IntegriCloud