[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH] Set DISTRO to SUSE if /etc/SuSE-release exists



On Tue, Jun 04, 2013 at 04:39:12PM +0200, Olaf Hering wrote:
> Signed-off-by: Olaf Hering <olaf aepfle de>
> ---
> 
> not compile-tested.
> 
>  configure.ac | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 71f7b06..2db9593 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -519,6 +519,9 @@ fi
>  if test -f /etc/arch-release; then
>      DISTRO=ARCHLINUX
>  fi
> +if test -f /etc/SuSE-release; then
> +    DISTRO=SUSE
> +fi
>  AC_MSG_RESULT([$DISTRO])
>  AC_SUBST([DISTRO])

Looks fine.  ACKed and pushed.  Of course it'll need corresponding
adjustments to appliance/packagelist.in, as I'm sure you're aware :-)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]