Re: [PATCH 5/5] Remove BETANAG, instead reading it from .buildstamp (#628688).

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

 



> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux