[Pkg-octave-commit] [SCM] Debian packaging for octave-pkg-dev branch, master, updated. debian/1.0.0-7-g1048b08

Rafael Laboissiere rafael at laboissiere.net
Sat Mar 10 09:17:11 UTC 2012


The following commit has been merged in the master branch:
commit 1048b084366e23420a4c9fa9602f945c1292e5f5
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sat Mar 10 02:53:01 2012 +0100

    Also echo "ok" when there is no versioned dependency
    
    Git-Dch: Ignore

diff --git a/octave-pkg.mk b/octave-pkg.mk
index 2d5e71c..a1fa287 100644
--- a/octave-pkg.mk
+++ b/octave-pkg.mk
@@ -58,13 +58,13 @@ check-version:
           | perl -ne 'if (/octave\s+\(>=\s*([.\d]+)\)/) {print $$1}') ;	\
 	if [ "$$dep" != "" ] ; then					\
 		dpkg --compare-versions $(version) ge $$dep		\
-			&& (echo ok ; true)				\
 			|| (echo ;					\
 			    echo "Octave version mismatch:"		\
 				 "Needs >= $$dep, but version"		\
 				 "$(version) is installed" 1>&2 ;	\
 			    false) ;					\
-	fi
+	fi ;								\
+	echo ok
 
 .PHONY: create-dirs
 create-dirs:

-- 
Debian packaging for octave-pkg-dev



More information about the Pkg-octave-commit mailing list