diff options
author | jim-p <jimp@pfsense.org> | 2012-07-05 12:21:14 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-07-05 12:21:14 -0400 |
commit | ae155534d68a41b9409efade90834a78dd3f085b (patch) | |
tree | cea6e43879f52494c438788dc055b998dc489036 /config | |
parent | b012ea0f60785020b8f697300fe8e78da2e5e45d (diff) | |
download | pfsense-packages-ae155534d68a41b9409efade90834a78dd3f085b.tar.gz pfsense-packages-ae155534d68a41b9409efade90834a78dd3f085b.tar.bz2 pfsense-packages-ae155534d68a41b9409efade90834a78dd3f085b.zip |
Flip this test around - only 1.x needed this.
Diffstat (limited to 'config')
-rw-r--r-- | config/avahi/avahi.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/avahi/avahi.inc b/config/avahi/avahi.inc index df56cd06..f91fcd12 100644 --- a/config/avahi/avahi.inc +++ b/config/avahi/avahi.inc @@ -53,7 +53,7 @@ function avahi_install() { // This old hacky install code should only happen on 1.x if (php_uname("m") == "i386") - $archive = (substr(trim(file_get_contents("/etc/version")),0,1) == "2") ? "" : "avahi.tar.gz"; + $archive = (substr(trim(file_get_contents("/etc/version")),0,1) == "1") ? "avahi.tar.gz" : ""; // Extract out libraries and avahi-daemon if(!empty($archive) && file_exists("/root/{$archive}")) { exec("mkdir -p " . AVAHI_BASE . "/etc/avahi/services/"); |