summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--initscript/archlinux/avahi-daemon.in3
2 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 4dac566..cc66f6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@
# USA.
AC_PREREQ(2.57)
-AC_INIT([avahi],[0.1],[avahi (at) lists (dot) freedesktop (dot) org])
+AC_INIT([avahi],[0.2],[avahi (at) lists (dot) freedesktop (dot) org])
AC_CONFIG_SRCDIR([avahi-core/server.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign 1.9 -Wall])
@@ -53,7 +53,7 @@ AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the Linux dis
if test "z$with_distro" = "z"; then
#AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
#AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
- AC_CHECK_FILE(/etc/arch-version,with_distro="archlinux")
+ AC_CHECK_FILE(/etc/arch-release,with_distro="archlinux")
AC_CHECK_FILE(/etc/debian_version,with_distro="debian")
fi
with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
diff --git a/initscript/archlinux/avahi-daemon.in b/initscript/archlinux/avahi-daemon.in
index 020db3e..832b636 100644
--- a/initscript/archlinux/avahi-daemon.in
+++ b/initscript/archlinux/avahi-daemon.in
@@ -66,7 +66,8 @@ case "$1" in
stat_fail
else
stat_done
- endif
+ fi
+ ;;
*)
echo "usage: $0 {start|stop|restart|reload}"
;;