FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-09-2010, 08:49 PM
 
Default 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
 

Thread Tools




All times are GMT. The time now is 09:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org