aboutsummaryrefslogtreecommitdiffstats
path: root/config/frickin
diff options
context:
space:
mode:
Diffstat (limited to 'config/frickin')
-rw-r--r--config/frickin/frickin.inc4
-rw-r--r--config/frickin/frickin.xml4
2 files changed, 6 insertions, 2 deletions
diff --git a/config/frickin/frickin.inc b/config/frickin/frickin.inc
index ac7c7572..d4b759b6 100644
--- a/config/frickin/frickin.inc
+++ b/config/frickin/frickin.inc
@@ -31,6 +31,10 @@
function frickin_custom_php_install_command() {
global $config;
+ if(file_exists("/tmp/frickin.tgz")) {
+ exec("tar xzPf /tmp/frickin.tgz -C /");
+ unlink("/tmp/frickin.tgz");
+ }
$fout = fopen("/usr/local/etc/rc.d/frickin.sh", "w");
fwrite($fout, "#!/bin/sh\n# This package was automatically generated\n# by the pfSense package system.\n\n");
fwrite($fout, "# PACKAGE: Frickin Proxy\n");
diff --git a/config/frickin/frickin.xml b/config/frickin/frickin.xml
index 6df9694e..89d3f2c8 100644
--- a/config/frickin/frickin.xml
+++ b/config/frickin/frickin.xml
@@ -62,9 +62,9 @@
<item>http://www.pfsense.com/packages/config/frickin/frickin.inc</item>
</additional_files_needed>
<additional_files_needed>
- <prefix>/usr/local/bin/</prefix>
+ <prefix>/tmp/</prefix>
<chmod>077</chmod>
- <item>http://www.pfsense.com/packages/config/frickin/bin/frickin</item>
+ <item>http://www.pfsense.com/packages/config/frickin/bin/frickin.tgz</item>
</additional_files_needed>
<fields>
<field>