aboutsummaryrefslogtreecommitdiffstats
path: root/config/widescreen
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-02-25 13:33:59 -0500
committerjim-p <jimp@pfsense.org>2011-02-25 13:33:59 -0500
commite8fe8f1ee57a15d76aebe7baf9482c129aadc014 (patch)
treefb96ebdb027b9bd08a46cfc9ba7ea4c3e0498a66 /config/widescreen
parent0839095b075a53c69f6e511d78a0aa167ff0f318 (diff)
downloadpfsense-packages-e8fe8f1ee57a15d76aebe7baf9482c129aadc014.tar.gz
pfsense-packages-e8fe8f1ee57a15d76aebe7baf9482c129aadc014.tar.bz2
pfsense-packages-e8fe8f1ee57a15d76aebe7baf9482c129aadc014.zip
Fix function name to reflect the proper package name.
Diffstat (limited to 'config/widescreen')
-rw-r--r--config/widescreen/widescreen.inc4
-rw-r--r--config/widescreen/widescreen.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/config/widescreen/widescreen.inc b/config/widescreen/widescreen.inc
index c4cc127d..52c91d92 100644
--- a/config/widescreen/widescreen.inc
+++ b/config/widescreen/widescreen.inc
@@ -25,7 +25,7 @@
require('filter.inc');
-function mactovendor_custom_php_install_command()
+function widescreen_custom_php_install_command()
{
exec("mkdir -p /usr/local/pkg/widescreen/backup");
// Let's backup everything
@@ -47,7 +47,7 @@ function mactovendor_custom_php_install_command()
copy("/usr/local/pkg/widescreen/horiz-right.png", "/usr/local/www/themes/pfsense_ng/images/horiz-right.png");
}
-function mactovendor_custom_php_deinstall_command()
+function widescreen_custom_php_deinstall_command()
{
copy("/usr/local/pkg/widescreen/backup/all.css.bak", "/usr/local/www/themes/pfsense_ng/all.css");
copy("/usr/local/pkg/widescreen/backup/fbegin.inc.bak", "/usr/local/www/fbegin.inc");
diff --git a/config/widescreen/widescreen.xml b/config/widescreen/widescreen.xml
index 5807fc88..98dd9daa 100644
--- a/config/widescreen/widescreen.xml
+++ b/config/widescreen/widescreen.xml
@@ -63,9 +63,9 @@
<item>http://www.pfsense.org/packages/config/widescreen/bin/index.php_</item>
</additional_files_needed>
<custom_php_install_command>
- mactovendor_custom_php_install_command();
+ widescreen_custom_php_install_command();
</custom_php_install_command>
<custom_php_deinstall_command>
- mactovendor_custom_php_deinstall_command();
+ widescreen_custom_php_deinstall_command();
</custom_php_deinstall_command>
</packagegui>