[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Set ANACONDAVERSION on most livecd installs.
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Set ANACONDAVERSION on most livecd installs.
- Date: Tue, 5 May 2009 10:23:23 -0400
This should add the version number to exception reports for livecd installs
launched by clicking the icon or menu option or whatever. It will not help
the case where people run anaconda by hand from a command line.
---
liveinst/Makefile | 1 +
liveinst/liveinst.sh | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/liveinst/Makefile b/liveinst/Makefile
index 67d260e..174a9ea 100644
--- a/liveinst/Makefile
+++ b/liveinst/Makefile
@@ -21,6 +21,7 @@ all: liveinst.desktop
liveinst.desktop: liveinst.desktop.in
LC_ALL=C intltool-merge -d -u ../po liveinst.desktop.in liveinst.desktop
+ sed -i "s/@VERSION@/$(VERSION)/" liveinst.sh
install:
mkdir -p $(DESTDIR)/usr/bin
diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh
index badb3f5..922525a 100644
--- a/liveinst/liveinst.sh
+++ b/liveinst/liveinst.sh
@@ -37,6 +37,7 @@ for i in raid0 raid1 raid5 raid6 raid456 raid10 dm-mod dm-zero dm-mirror dm-snap
export ANACONDA_PRODUCTNAME=$( cat /etc/system-release | cut -d ' ' -f 1 )
export ANACONDA_PRODUCTVERSION=$( cat /etc/system-release | sed -r -e 's/^.*([0-9]+) *\(.*$/\1/' )
export ANACONDA_BUGURL=${ANACONDA_BUGURL:="https://bugzilla.redhat.com/bugzilla/"}
+export ANACONDAVERSION="@VERSION@"
export PATH=/sbin:/usr/sbin:$PATH
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]