1
0
mirror of https://github.com/jakeswenson/BitBetter.git synced 2023-10-10 13:36:57 +02:00

Fix recreation of keys on every execution (#27)

* Fix recreation of keys on every execution
This commit is contained in:
Jan Schöppach 2019-06-19 15:34:33 +02:00 committed by Jeff Alyanak
parent 6c8789cd67
commit 5d01d3c661

View File

@ -1,10 +1,11 @@
#!/bin/bash
# If there aren't any keys, generate them first.
[ -e ./keys/cert.cert] || ./.keys/generate-keys.sh
[ -e ./.keys/cert.cert ] || ./.keys/generate-keys.sh
[ -e ./src/bitBetter/api/.keys ] || mkdir ./src/bitBetter/api/.keys
[ -e ./src/bitBetter/identity/.keys ] || mkdir ./src/bitBetter/identity/.keys
[ -e ./source/bitBetter/api/.keys ] || mkdir ./src/bitBetter/api/.keys
[ -e ./source/bitBetter/identity/.keys ] || mkdir ./src/bitBetter/identity/.keys
cp .keys/cert.cert ./src/bitBetter/api/.keys
cp .keys/cert.cert ./src/bitBetter/identity/.keys