From 9df6fa122363498a3200f33981ad6e075107a940 Mon Sep 17 00:00:00 2001 From: Daniel Stefan Haischt Date: Sun, 14 Oct 2007 18:09:02 +0000 Subject: * manually copy files --- packages/dyntables/pkg/dyntables.inc | 10 ++++++++-- packages/dyntables/pkg/dyntables.xml | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'packages') diff --git a/packages/dyntables/pkg/dyntables.inc b/packages/dyntables/pkg/dyntables.inc index 853eea11..97e8a422 100644 --- a/packages/dyntables/pkg/dyntables.inc +++ b/packages/dyntables/pkg/dyntables.inc @@ -43,11 +43,17 @@ function syncPackageDyntables() { } function installPackageDyntables() { - + /* move temp files */ + @rename('/usr/local/www/diag_dhcp_leases.php', '/usr/local/pkg/diag_dhcp_leases.php.org'); + @rename('/usr/local/pkg/dyntables.js', '/usr/local/www/javascript/dyntables.js'); + @rename('/usr/local/pkg/diag_dhcp_leases.php', '/usr/local/www/diag_dhcp_leases.php'); } function deinstallPackageDyntables() { - + /* move backup files */ + @unlink('/usr/local/www/diag_dhcp_leases.php'); + @unlink('/usr/local/www/javascript/dyntables.js'); + @rename('/usr/local/pkg/diag_dhcp_leases.php.org', '/usr/local/www/diag_dhcp_leases.php'); } function checkForExtension($alertClass) { diff --git a/packages/dyntables/pkg/dyntables.xml b/packages/dyntables/pkg/dyntables.xml index 529e587e..8a249966 100644 --- a/packages/dyntables/pkg/dyntables.xml +++ b/packages/dyntables/pkg/dyntables.xml @@ -81,7 +81,7 @@ | --> - /usr/local/www/ + /usr/local/pkg/ 0755 http://www.pfsense.com/packages/config/dyntables/www/php/diag_dhcp_leases.php @@ -91,7 +91,7 @@ | --> - /usr/local/www/javascript + /usr/local/pkg/ 0755 http://www.pfsense.com/packages/config/dyntables/www/js/dyntables.js -- cgit v1.2.3