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
|