The following commit has been merged in the master branch:
commit 14f599ea6cb54a3b64a8a15c228583da5876044e
Author: Antonio Valentino <>
Date:   Tue Jan 18 18:43:45 2011 +0100

    The wapper script is now more conformant to the Debian policy (set -e)

diff --git a/debian/ b/debian/
index 2315de1..8e33d3b 100644
--- a/debian/
+++ b/debian/
@@ -1,5 +1,7 @@
+set -e
@@ -16,14 +18,15 @@ ln -s -f ${DOCROOT}/TechDoc
 ln -s -f ${DOCROOT}/Tutorial
 mkdir -p ${PSPROOT}/Config
-cp -n ${SHAREROOT}/Config/gpl*.txt ${SHAREROOT}/Config/Version.txt 
-for f in ${SHAREROOT}/Config/*.txt; do
-    if [ ! -f ${PSPROOT}/Config/$(basename $f) ]; then
-        cp $f ${PSPROOT}/Config
-    fi
-cp -s ${SHAREROOT}/Config/* ${PSPROOT}/Config >> /dev/null 2>&1
+cp -u ${SHAREROOT}/Config/gpl*.txt ${SHAREROOT}/Config/Version.txt 
+cp -n ${SHAREROOT}/Config/*.txt ${PSPROOT}/Config
+cp -sn ${SHAREROOT}/Config/*.pal ${PSPROOT}/Config
+cp -sn ${SHAREROOT}/Config/*.kml ${PSPROOT}/Config
+cp -sn ${SHAREROOT}/Config/*.bat ${PSPROOT}/Config
+cp -sn ${SHAREROOT}/Config/*.bmp ${PSPROOT}/Config
+cp -sn ${SHAREROOT}/Config/*.tif ${PSPROOT}/Config
+cp -sn ${SHAREROOT}/Config/*.gif ${PSPROOT}/Config
 if [ ! -d ${PSPROOT}/Config/MyRoutines ]; then
     cp -R ${SHAREROOT}/Config/MyRoutines ${PSPROOT}/Config

Polarimetric SAR Data Processing and Educational Tool

Pkg-grass-devel mailing list

Reply via email to