[Blends-commit] [SCM] blends-dev branch, master, updated. 35d46f354547349e7c20f48458df33a908398027

Ole Streicher ole at aip.de
Thu Mar 31 13:32:50 UTC 2016


The following commit has been merged in the master branch:
commit 1b58bf6cb0cdee085d383c9b2205beb58bec19e9
Author: Ole Streicher <ole at aip.de>
Date:   Thu Mar 31 15:28:38 2016 +0200

    Add (simple) blendtitle as parameter of blend-get-names

diff --git a/devtools/blend-get-names b/devtools/blend-get-names
index 89a5647..4509592 100755
--- a/devtools/blend-get-names
+++ b/devtools/blend-get-names
@@ -22,7 +22,7 @@ fi
 
 if [ "$#" -ne 1 ] ; then
 	echo "Missing argument"
-	echo "Usage: $0 blendname|blendshortname|metapackageprefix"
+	echo "Usage: $0 blendname|blendshortname|blendtitle|metapackageprefix"
 	exit 64   #  EX_USAGE
 fi
 
@@ -36,6 +36,10 @@ case "$1" in
 	GetShortName
 	exit 0
 	;;
+    blendtitle) # default title is the short name with capital first char
+	GetShortName | sed 's/.*/Debian \u& Pure Blend/'
+	exit 0
+	;;
     metapackageprefix)
 	mprefix=`grep '^Package:[[:space:]]*' "$CONTROLFILE" |head -1| \
 	    sed 's/^Package:[[:space:]]*\([[:alnum:]]\+\)-*.*/\1/'`

-- 
Git repository for blends code



More information about the Blends-commit mailing list