Module: check_mk
Branch: master
Commit: 06a53c4c134b66e27c83bd0018e1140818ae5a7f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=06a53c4c134b66…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Jan 30 10:35:43 2017 +0100
Accept wheezy, too.
Change-Id: Iac1d285d07579b2c0090bc84e79224005d7c9ede
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index bb9706d..13f1a16 100644
--- a/Makefile
+++ b/Makefile
@@ -192,7 +192,8 @@ version:
-o "$$(head -c 12 /etc/issue)" = "Ubuntu 15.04" \
-o "$$(head -c 12 /etc/issue)" = "Ubuntu 15.10" \
-o "$$(head -c 12 /etc/issue)" = "Ubuntu 16.04" \
- -o "$$(head -c 20 /etc/issue)" = "Debian GNU/Linux 6.0" ]
\
+ -o "$$(head -c 20 /etc/issue)" = "Debian GNU/Linux 6.0" \
+ -o "$$(head -c 18 /etc/issue)" = "Debian GNU/Linux 7" ] \
|| { echo 'You are not on the reference system!' ; exit 1; }
@newversion=$$(dialog --stdout --inputbox "New Version:" 0 0
"$(VERSION)") ; \
if [ -n "$$newversion" ] ; then $(MAKE) NEW_VERSION=$$newversion setversion ;
fi