aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-06-10 09:26:17 -0400
committerjim-p <jim@pingle.org>2009-06-10 09:27:16 -0400
commitc0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e (patch)
treedf862fdf2c3c15ade92662ec5ccb32f436568c4a
parenta24a6994a246ee3d869a17540a916288032dbfc6 (diff)
downloadpfsense-packages-c0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e.tar.gz
pfsense-packages-c0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e.tar.bz2
pfsense-packages-c0c01ff7c651b489c8f9cad44cc45cbaf3df3a6e.zip
Dashboard update: Use apc_clear_cache() after install to make sure that the proper index.php appears.
-rw-r--r--config/dashboard/dashboard.inc3
-rw-r--r--config/dashboard/dashboard.xml2
-rwxr-xr-xpkg_config.7.xml2
-rw-r--r--pkg_config.xml2
4 files changed, 5 insertions, 4 deletions
diff --git a/config/dashboard/dashboard.inc b/config/dashboard/dashboard.inc
index 732eb977..09472500 100644
--- a/config/dashboard/dashboard.inc
+++ b/config/dashboard/dashboard.inc
@@ -7,11 +7,12 @@ function dashboard_install() {
/* Copy files for backup. For some odd reason, mv alone does
* not always result in the proper file being used. */
mwexec("cp /usr/local/www/index.php /usr/local/www/index.php.before_dashboard");
- mwexec("rm /usr/local/www/index.php");
mwexec("cp /usr/local/www/diag_logs_filter.php /usr/local/www/diag_logs_filter.php.before_dashboard");
mwexec("cp /usr/local/www/diag_logs_filter_dynamic.php /usr/local/www/diag_logs_filter_dynamic.php.before_dashboard");
mwexec("tar xzvpUf /usr/local/pkg/widgets.tgz -C /");
assign_privs();
+ /* Clear the APC cache so that the updates to installed files will work. */
+ apc_clear_cache();
}
function assign_privs() {
diff --git a/config/dashboard/dashboard.xml b/config/dashboard/dashboard.xml
index 165c097e..75dc5981 100644
--- a/config/dashboard/dashboard.xml
+++ b/config/dashboard/dashboard.xml
@@ -46,7 +46,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>dashboard</name>
- <version>0.8.3</version>
+ <version>0.8.3_1</version>
<title>Dashboard</title>
<include_file>/usr/local/pkg/dashboard.inc</include_file>
<additional_files_needed>
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index 84130f18..be524cb3 100755
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -78,7 +78,7 @@
<descr>Adds pfSense dashboard that will be included with 2.0. WARNING! Cannot be deinstalled.</descr>
<category>System</category>
<config_file>http://www.pfsense.com/packages/config/dashboard/dashboard.xml</config_file>
- <version>0.8.3</version>
+ <version>0.8.3_1</version>
<status>BETA</status>
<required_version>1.2</required_version>
<maximum_version>1.9</maximum_version>
diff --git a/pkg_config.xml b/pkg_config.xml
index 3d84a137..ff5c1827 100644
--- a/pkg_config.xml
+++ b/pkg_config.xml
@@ -86,7 +86,7 @@
<descr>Adds pfSense dashboard that will be included with 2.0. This requires 1.2 or newer. WARNING! Cannot be deinstalled.</descr>
<category>System</category>
<config_file>http://www.pfsense.com/packages/config/dashboard/dashboard.xml</config_file>
- <version>0.8.3</version>
+ <version>0.8.3_1</version>
<status>BETA</status>
<required_version>1.2</required_version>
<maximum_version>1.9</maximum_version>