summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArjan Bouter2008-01-03 18:04:59 +0100
committerArjan Bouter2008-01-03 18:04:59 +0100
commitecba0762fb1c9cc6dab062a4b64a188cc3fa16fa (patch)
treecb15488b45fdd1b7a7fd9bbcdd213bc5d1e7809c
parente178e2f27d6cc789c946966d70b4116470ead945 (diff)
wm2: fixed PREPARE, only ask for autoupdate when using cvs version
-rwxr-xr-xwindowmanagers/wm2/DETAILS2
-rw-r--r--windowmanagers/wm2/HISTORY3
-rwxr-xr-xwindowmanagers/wm2/PREPARE6
3 files changed, 8 insertions, 3 deletions
diff --git a/windowmanagers/wm2/DETAILS b/windowmanagers/wm2/DETAILS
index 344bc0c653..61c2e886f8 100755
--- a/windowmanagers/wm2/DETAILS
+++ b/windowmanagers/wm2/DETAILS
@@ -18,7 +18,7 @@ fi
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
WEB_SITE=http://www.all-day-breakfast.com/wm2/
ENTERED=20040821
- PATCHLEVEL=0
+ PATCHLEVEL=1
LICENSE[0]=GPL
KEYWORDS="windowmanagers"
SHORT="wm2 is a goodlooking minimalist windowmanager"
diff --git a/windowmanagers/wm2/HISTORY b/windowmanagers/wm2/HISTORY
index 7641bd1b88..deb702411a 100644
--- a/windowmanagers/wm2/HISTORY
+++ b/windowmanagers/wm2/HISTORY
@@ -1,3 +1,6 @@
+2008-01-03 Arjan Bouter <abouter@sourcemage.org>
+ * PREPARE: only ask autoupdate when using cvs
+
2007-11-28 Arjan Bouter <abouter@sourcemage.org>
* DETAILS: added release version and autoupdate for cvs
* PREPARE: added cvs autoupdate query
diff --git a/windowmanagers/wm2/PREPARE b/windowmanagers/wm2/PREPARE
index e3d83887f5..10adb9f53e 100755
--- a/windowmanagers/wm2/PREPARE
+++ b/windowmanagers/wm2/PREPARE
@@ -1,2 +1,4 @@
-config_query WM2_CVS "Do you want the CVS version?" n
-config_query WM2_CVS_AUTOUPDATE "Automatically update $SPELL on system-update?" n
+config_query WM2_CVS "Do you want the CVS version?" n &&
+if [ "$WM2_CVS" == "y" ]; then
+ config_query WM2_CVS_AUTOUPDATE "Automatically update $SPELL on system-update?" n
+fi