[gedit] Better automation of message of doom
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gedit] Better automation of message of doom
- Date: Mon, 10 Aug 2009 17:41:40 +0000 (UTC)
commit d834aaa73bc1e27020bc4198fb4ad6b8804ca5fc
Author: Paolo Borelli <porelli gnome org>
Date: Mon Aug 10 13:59:37 2009 +0200
Better automation of message of doom
Makefile.am | 1 -
configure.ac | 29 +++++++++++++++++++++++++++--
message-of-doom | 23 -----------------------
3 files changed, 27 insertions(+), 26 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index bfc6cae..9d771ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,7 +15,6 @@ EXTRA_DIST = \
gedit.doap \
xmldocs.make \
omf.make \
- message-of-doom \
gnome-doc-utils.make \
intltool-extract.in \
intltool-merge.in \
diff --git a/configure.ac b/configure.ac
index 28a08cf..c526ad4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -502,6 +502,31 @@ Configuration:
Spell Plugin enabled: $enable_enchant
"
-if test $(( ${GEDIT_MINOR_VERSION} % 2 )) -eq 1; then
- cat $srcdir/message-of-doom
+if expr ${GEDIT_MINOR_VERSION} % 2 > /dev/null; then
+ stable_version=`expr ${GEDIT_MINOR_VERSION} - 1`
+
+cat << EOF
+ *** IMPORTANT ***
+
+This is an unstable version of gedit.
+It is for test purposes only.
+
+Please, DO NOT use it in a production environment.
+It will probably crash and you will lose your data.
+
+If you are looking for a stable release of gedit, either download
+it from:
+
+ http://ftp.gnome.org/pub/gnome/sources/gedit/2.${stable_version}/
+
+Or checkout the gnome-${stable_version} branch of the gedit module from:
+
+ git://git.gnome.org/gedit
+
+Thanks,
+The gedit team
+
+ *** END OF WARNING ***
+EOF
+
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]