From ad217b92d254873e6fa92e3d91aba65333767188 Mon Sep 17 00:00:00 2001 From: jim-p Date: Sun, 14 Jun 2009 16:44:08 -0400 Subject: Fix some whitespace errors, and rename assign_privs to rate_assign_privs so it is unique among packages. --- config/rate/rate.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/rate/rate.inc') diff --git a/config/rate/rate.inc b/config/rate/rate.inc index 3a2f13a9..a00ee736 100644 --- a/config/rate/rate.inc +++ b/config/rate/rate.inc @@ -9,7 +9,7 @@ function rate_install() { mwexec("cp /usr/local/pkg/bandwidth_by_ip.php /usr/local/www/bandwidth_by_ip.php"); mwexec("cp /usr/local/pkg/status_graph.php /usr/local/www/status_graph.php"); - assign_privs(); + rate_assign_privs(); /* Clear the APC cache so that the updates to installed files will work. */ apc_clear_cache(); } @@ -20,7 +20,7 @@ function rate_deinstall() { mwexec("cp /usr/local/www/status_graph.php.orig /usr/local/www/status_graph.php"); } -function assign_privs() { +function rate_assign_privs() { /* Fix permissions on replaced files */ mwexec("chown root:wheel /usr/local/www/bandwidth_by_ip.php"); mwexec("chown root:wheel /usr/local/www/status_graph.php"); -- cgit v1.2.3