This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
idhub-docker/build__pilot-lafede.sh
pedro 7a9850c7b1 quit confusing comment in pilot build scripts
if you want to know what does each pilot, see README.md
2024-01-24 15:23:11 +01:00

29 lines
483 B
Bash
Executable file

#!/bin/sh
set -e
set -u
# DEBUG
set -x
main() {
# includes functions:
# common_start
# common_end
. ./build__common.sh
pilot='pilot-lafede'
common_start
# detect if is new
if [ ! -f "./${idhub1}" ]; then
echo 'Detected new deployment, recreating idhub git repo'
cp -rp IdHub "${idhub1}"
rm -f "${idhub1}/db.sqlite3"
fi
common_end
}
main "${@}"