diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-04-27 13:08:14 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-04-27 13:08:14 -0300 |
commit | 06e99aa586dc4852251657908c6af8173a423974 (patch) | |
tree | b85b1d5ce96b679b94e365611327fa4e605ea468 /config/pfblockerng/pfblockerng.inc | |
parent | 071d74ab79ab0600203c0a16da956a2188d8d261 (diff) | |
download | pfsense-packages-06e99aa586dc4852251657908c6af8173a423974.tar.gz pfsense-packages-06e99aa586dc4852251657908c6af8173a423974.tar.bz2 pfsense-packages-06e99aa586dc4852251657908c6af8173a423974.zip |
Stop copying countrycodes tarball and also fix a typo on array key name s/ccdif/ccdir/
Diffstat (limited to 'config/pfblockerng/pfblockerng.inc')
-rw-r--r-- | config/pfblockerng/pfblockerng.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/pfblockerng/pfblockerng.inc b/config/pfblockerng/pfblockerng.inc index d382c647..26eeb5e5 100644 --- a/config/pfblockerng/pfblockerng.inc +++ b/config/pfblockerng/pfblockerng.inc @@ -2423,8 +2423,7 @@ function pfblockerng_php_install_command() { @rmdir_recursive("{$pfb['dbdir']}/cc"); # Uncompress Country Code File - @copy("{$pfb['dbdir']}/countrycodes.tar.bz2", "{$pfb['ccdir']}/countrycodes.tar.bz2"); - exec("/usr/bin/tar -jx -C {$pfb['ccdif']} -f {$pfb['ccdir']}/countrycodes.tar.bz2"); + exec("/usr/bin/tar -jx -C {$pfb['ccdir']} -f {$pfb['dbdir']}/countrycodes.tar.bz2"); # Download MaxMind Files and Create Country Code files and Build Continent XML Files update_output_window(gettext("Downloading MaxMind Country Databases. This may take a minute...")); exec("/bin/sh /usr/local/pkg/pfblockerng/geoipupdate.sh all >> {$pfb['geolog']} 2>&1"); |