]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-macos-pkg-update-csdb-20030709
authorDerrick Brashear <shadow@dementia.org>
Wed, 9 Jul 2003 19:54:51 +0000 (19:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 9 Jul 2003 19:54:51 +0000 (19:54 +0000)
update the cellservdb while we build packages

(cherry picked from commit c59e18c174569393ada98bb2ff1ab80c51c07b2b)

src/packaging/MacOS/buildpkg.sh

index d0ec614c9da3ea4d83c027041200063531f29689..183a7e57639a245a563065d89e66148af0739f85 100644 (file)
@@ -17,6 +17,10 @@ if grep -q 'set resDir = ""' /usr/bin/package ; then
    exit 1
 fi
 
+if [ -x /usr/bin/curl ]; then
+    /usr/bin/curl -f -O http://www.central.org/dl/cellservdb/CellServDB
+fi
+
 if [ ! -f CellServDB ]; then
    echo "A CellServDB file must be placed in the working directory"
    die=1