]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-cellservdb-dl-sanity-check-20060725
authorDerrick Brashear <shadow@dementia.org>
Tue, 25 Jul 2006 15:39:51 +0000 (15:39 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 25 Jul 2006 15:39:51 +0000 (15:39 +0000)
protect me from myself

(cherry picked from commit 238ac51e80551bf57334867521817103fddd2cbf)

src/packaging/MacOS/buildpkg.sh

index 774eb7407f487f80b5f0604a59421f9b42dd84e1..2c6df387b3db51f7f959f6a5b91a68c998f593da 100644 (file)
@@ -60,6 +60,13 @@ if [ $firstpass = yes ]; then
     if [ ! -f CellServDB ]; then
        echo "A CellServDB file must be placed in the working directory"
        die=1
+    else
+       if grep -q 'GCO Public CellServDB' CellServDB ; then
+         touch CellServDB
+       else
+          echo "A proper CellServDB file must be placed in the working directory"
+          die=1
+       fi
     fi
     FILES="ReadMe.rtf License.rtf CellServDB.list OpenAFS.info OpenAFS.post_install OpenAFS.pre_upgrade csrvdbmerge.pl 2.0.txt"
     for f in $FILES; do