From: Clinton Ebadi Date: Sat, 11 Aug 2018 19:03:35 +0000 (-0400) Subject: bootstrap: install default domtool library when bootstrapping X-Git-Tag: release_20181012~2 X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/commitdiff_plain/2a73fe51761d987faaacfb5557e61a468bf80424?hp=e7dd9e9bfd2cab3088bd7fbdc33f70f61e86b3bd bootstrap: install default domtool library when bootstrapping --- diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index db6750c..49207cb 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -23,6 +23,7 @@ if [ -z "`getent passwd domtool`" ]; then fi ./domtool-create-shared-root +./domtool-install-lib ./domtool-create-local-root ./domtool-create-ca -force ./domtool-init-truststore diff --git a/bootstrap/domtool-install-lib b/bootstrap/domtool-install-lib new file mode 100755 index 0000000..26c339f --- /dev/null +++ b/bootstrap/domtool-install-lib @@ -0,0 +1,11 @@ +#!/bin/sh + +# install domtool library +SHAREDROOT=`../bin/domtool-config -path shared-root` + +if [ -z "$SHAREDROOT" ]; then + echo "shared-root not set, domtool not built?" + exit 1 +fi + +rsync -r ../lib/ $SHAREDROOT/lib