Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Remove BETANAG, instead reading it from .buildstamp (#628688). (http://www.linux-archive.org/debian-user/425045-remove-betanag-instead-reading-buildstamp-628688-a.html)

09-09-2010 08:49 PM

Remove BETANAG, instead reading it from .buildstamp (#628688).
 
> diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
> index b50e9bb..582857d 100755
> --- a/data/liveinst/liveinst
> +++ b/data/liveinst/liveinst
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/bin/bash
> #
> # Simple script to kick off an install from a live CD
> #
> @@ -38,6 +38,13 @@ export ANACONDA_PRODUCTNAME=$( cat /etc/system-release | sed -r -e 's/ *release.
> export ANACONDA_PRODUCTVERSION=$( cat /etc/system-release | sed -r -e 's/^.* ([0-9.]+).*$/1/' )
> export ANACONDA_BUGURL=${ANACONDA_BUGURL:="https://bugzilla.redhat.com/bugzilla/"}
>
> +PRODVERSION=$(rpm -q --qf '%{Release}' fedora-release)
> +if [ "${PRODVERSION:0:2}" = "0." ]; then
> + export ANACONDA_ISBETA="true"
> +else
> + export ANACONDA_ISBETA="false"
> +fi
> +
> export PATH=/sbin:/usr/sbin:$PATH
>
> if [ -n "$DISPLAY" -a -n "$LANG" ]; then

PRODVERSION and ANACONDA_PRODUCTVERSION above could probably be merged
together, or at least named less similarly. I'll take care of that.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 10:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.