summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-01 18:05:27 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-01 18:06:04 +0000
commited6b04d865c2a53ec04b70769c10b90ff0326c26 (patch)
tree083708c5ef77dd3dae7abd339cc70d22ea65d9fd /etc
parent286a2b2efedaa7aed619a025633e9159a4122054 (diff)
downloadpfsense-ed6b04d865c2a53ec04b70769c10b90ff0326c26.zip
pfsense-ed6b04d865c2a53ec04b70769c10b90ff0326c26.tar.gz
Resolves #309. Seems that including config.inc has bad habits on packages. Workaround this for now until the package config include is fixed.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 5d48ffc..b1a53b6 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -458,6 +458,8 @@ function install_package($package, $pkg_info = "") {
$changedesc = "Overwrote previous installation of {$pkg_info['name']}.";
$to_output = "overwrite!\n";
}
+ /* XXX: This is a workaround for Ticket #309. */
+ write_config($changedesc);
$static_output .= $to_output;
update_output_window($static_output);
/* install other package components */
OpenPOWER on IntegriCloud