From 05847f6c67575e1d5797d38f58e62ea7632fca49 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Mon, 18 Feb 2013 13:11:28 +0100 Subject: [PATCH] workaround waiting a real debian like package installer --- buildDebianPackage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildDebianPackage.sh b/buildDebianPackage.sh index d0939318..e2be330f 100755 --- a/buildDebianPackage.sh +++ b/buildDebianPackage.sh @@ -347,7 +347,7 @@ for ((i=0;i<${#tab[@]};i++)); do if [ $i -ne "0" ]; then echo -n ", " >> "$CONTROL_FILE" fi - echo -n "${tab[$i]} (>= "`dpkg -p ${tab[$i]} | grep "Version: " | awk '{ print $2 }'`") " >> "$CONTROL_FILE" + echo -n "${tab[$i]} (>= "`dpkg -p ${tab[$i]} | grep "Version: " | awk '{ print $2 }' | sed -e 's/\([:. 0-9?]*\).*/\1/g' | sed -e 's/\.$//'`") " >> "$CONTROL_FILE" done echo "" >> "$CONTROL_FILE" echo "Description: This a interactive white board that uses a free standard format." >> "$CONTROL_FILE"