aboutsummaryrefslogtreecommitdiffstats
path: root/config/avahi
diff options
context:
space:
mode:
Diffstat (limited to 'config/avahi')
-rw-r--r--config/avahi/avahi.inc2
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/");