aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dyntables/pkg/dyntables.inc
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2007-10-14 18:09:02 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2007-10-14 18:09:02 +0000
commit9df6fa122363498a3200f33981ad6e075107a940 (patch)
treee1aa5c03e80ad9be3b14cb513e29cdd623d8f2a3 /packages/dyntables/pkg/dyntables.inc
parent7c98ff7a85c11ca8b7f11eaa23e5595f34016080 (diff)
downloadpfsense-packages-9df6fa122363498a3200f33981ad6e075107a940.tar.gz
pfsense-packages-9df6fa122363498a3200f33981ad6e075107a940.tar.bz2
pfsense-packages-9df6fa122363498a3200f33981ad6e075107a940.zip
* manually copy files
Diffstat (limited to 'packages/dyntables/pkg/dyntables.inc')
-rw-r--r--packages/dyntables/pkg/dyntables.inc10
1 files changed, 8 insertions, 2 deletions
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) {