diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-26 15:35:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-26 15:35:43 +0100 |
commit | bde0ede28ffe83ad99bb8eec01f11cc07df5c4a6 (patch) | |
tree | b9688ab85157dd76bda30e36dfc392d51d81d57a /server-build/my-simple-cdd/profiles/wootaler.postinst | |
parent | 8e13c73c06ce3d09ae13461b440b80b2f9928adf (diff) | |
download | woocommerce-taler-bde0ede28ffe83ad99bb8eec01f11cc07df5c4a6.tar.gz woocommerce-taler-bde0ede28ffe83ad99bb8eec01f11cc07df5c4a6.tar.bz2 woocommerce-taler-bde0ede28ffe83ad99bb8eec01f11cc07df5c4a6.zip |
update scripts
Diffstat (limited to 'server-build/my-simple-cdd/profiles/wootaler.postinst')
-rwxr-xr-x | server-build/my-simple-cdd/profiles/wootaler.postinst | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/server-build/my-simple-cdd/profiles/wootaler.postinst b/server-build/my-simple-cdd/profiles/wootaler.postinst index 0b8f04b..8887fb9 100755 --- a/server-build/my-simple-cdd/profiles/wootaler.postinst +++ b/server-build/my-simple-cdd/profiles/wootaler.postinst @@ -20,10 +20,24 @@ cat > /usr/local/bin/firstboot-script.sh <<EOF set -eu +echo "Giving system time to complete setup" +sleep 60 + echo "## Launching WooCommerce-Taler installation ##" -cd /tmp -git clone git://git.taler.net/woocommerce-taler.git +cd /root +if test -x woocommerce-taler +then + echo "already exists, skipping" +else + git clone git://git.taler.net/woocommerce-taler.git +fi +if test -x gnu-taler-payment-for-woocommerce +then + echo "already exists, skipping" +else + git clone git://git.taler.net/gnu-taler-payment-for-woocommerce.git +fi # Get the necessary scripts yes | tr y '\n' | woocommerce-taler/server-build/QEMU-autobuild/buildWooTalerServer.sh @@ -32,9 +46,6 @@ yes | tr y '\n' | woocommerce-taler/server-build/QEMU-autobuild/buildWebstore.sh yes | tr y '\n' | woocommerce-taler/server-build/QEMU-autobuild/buildReclaim.sh -# Clean up -# rm -rf /tmp/woocommerce-taler.git - # Remove self from boot sequence rm /etc/systemd/system/firstboot-wootaler.service |