PLD-doc: PLDSA/new-sa - toolcheck

glen glen at pld-linux.org
Sun Jun 4 22:10:53 CEST 2006


Author: glen                         Date: Sun Jun  4 20:10:53 2006 GMT
Module: PLD-doc                       Tag: HEAD
---- Log message:
- toolcheck

---- Files affected:
PLD-doc/PLDSA:
   new-sa (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: PLD-doc/PLDSA/new-sa
diff -u PLD-doc/PLDSA/new-sa:1.3 PLD-doc/PLDSA/new-sa:1.4
--- PLD-doc/PLDSA/new-sa:1.3	Sun Jun  4 22:05:36 2006
+++ PLD-doc/PLDSA/new-sa	Sun Jun  4 22:10:48 2006
@@ -19,6 +19,11 @@
 self=$(basename "$0")
 set -e
 
+if ! which dml > /dev/null 2>&1 ; then
+	echo >&2 'You must have "dml" installed in order to use this script.'
+	exit 1
+fi
+
 # init database
 year=$(date +%Y)
 db="db/$year"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/PLD-doc/PLDSA/new-sa?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list