From ae155534d68a41b9409efade90834a78dd3f085b Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 5 Jul 2012 12:21:14 -0400 Subject: Flip this test around - only 1.x needed this. --- config/avahi/avahi.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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/"); -- cgit v1.2.3