From 386c9428d669750dfa4a69005b0cb66f8dcd28ba Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Tue, 23 Aug 2005 09:55:00 +0000 Subject: [PATCH] * Yeh, so we wanted /etc/arch-release not /etc/arch-version. * Fix syntax in the archlinux init script git-svn-id: file:///home/lennart/svn/public/avahi/trunk@412 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- configure.ac | 4 ++-- initscript/archlinux/avahi-daemon.in | 3 ++- 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}" ;; -- 2.39.5