diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-02 18:54:30 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-02 18:54:30 +0000 |
commit | 90a894783ab32f55268ff671f8eb5c9a8062542e (patch) | |
tree | 3a0af820bf6102c999d7b79f344dee62abfd2f5d /etc/inc/pkg-utils.inc | |
parent | 9d8d8a4c3ebead023b6c10a8ebfeb163fc8c1cc8 (diff) | |
download | pfsense-90a894783ab32f55268ff671f8eb5c9a8062542e.zip pfsense-90a894783ab32f55268ff671f8eb5c9a8062542e.tar.gz |
Reactivate the hack for packages to show as installed. Untill php decides to behave.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 5d48ffc..bf07377 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: Fix inclusion of config.inc that causes data loss! */ + write_config(); $static_output .= $to_output; update_output_window($static_output); /* install other package components */ |