]> git.meshlink.io Git - catta/commitdiff
* Yeh, so we wanted /etc/arch-release not /etc/arch-version.
authorTrent Lloyd <lathiat@bur.st>
Tue, 23 Aug 2005 09:55:00 +0000 (09:55 +0000)
committerTrent Lloyd <lathiat@bur.st>
Tue, 23 Aug 2005 09:55:00 +0000 (09:55 +0000)
 * 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
initscript/archlinux/avahi-daemon.in

index 4dac56632880f80d7be0b36be969464011e3022c..cc66f6d0b8d9df18a0b111f4e3ea0059993a960c 100644 (file)
@@ -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:]]' `
index 020db3e0a23ec98e83e0c685653c5acadc7db26e..832b63696d6eef9848c266e24fbf8a1052c2262e 100644 (file)
@@ -66,7 +66,8 @@ case "$1" in
             stat_fail
         else
             stat_done
-        endif
+        fi
+        ;;
     *)
         echo "usage: $0 {start|stop|restart|reload}"
        ;;