diff options
author | jim-p <jimp@pfsense.org> | 2012-06-20 15:49:43 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-20 15:49:43 -0400 |
commit | 50c3740529e861e3c8e4e3a6e08321aaf5687ca2 (patch) | |
tree | 849960358087de6824d65d743d0c5c6f86a158c4 /config/haproxy/haproxy.inc | |
parent | 4f93d85d73b9f544205263baff9958ef763dd0eb (diff) | |
download | pfsense-packages-50c3740529e861e3c8e4e3a6e08321aaf5687ca2.tar.gz pfsense-packages-50c3740529e861e3c8e4e3a6e08321aaf5687ca2.tar.bz2 pfsense-packages-50c3740529e861e3c8e4e3a6e08321aaf5687ca2.zip |
Remove some really unnecessary manual downloading of libraries/packages during install of these.
Diffstat (limited to 'config/haproxy/haproxy.inc')
-rw-r--r-- | config/haproxy/haproxy.inc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 4ed5f393..1e29f358 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -156,17 +156,6 @@ EOD; fclose($fd); exec("/etc/rc.d/devd restart"); - /* Workaround for the old package deleting the binary on unload instead of the package */ - if (!file_exists("/usr/local/sbin/haproxy")) { - if (substr(trim(`uname -r`), 0, 1) == "8") { - exec("cd /var/db/pkg && pkg_delete `ls | grep haproxy`"); - if (trim(`uname -m`) == 'i386') - exec("pkg_add -r http://e-sac.siteseguro.ws/pfsense/8/All/haproxy-1.4.18.tbz"); - else - exec("pkg_add -r http://e-sac.siteseguro.ws/pfsense/8/amd64/All/haproxy-1.4.18.tbz"); - } - } - /* Do XML upgrade from haproxy 0.31 to haproxy-dev */ if (is_array($config['installedpackages']['haproxy']['ha_servers'])) { /* We have an old config */ |