You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
622 B
25 lines
622 B
#!/bin/bash
|
|
|
|
KAZ_ROOT=$(cd "$(dirname $0)/.."; pwd)
|
|
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
|
|
setKazVars
|
|
|
|
if [[ -x "${KAZ_GIT_DIR}/depollueur/build/out/eMailShrinker" ]]; then
|
|
exit
|
|
fi
|
|
|
|
printKazMsg "\n *** Installation du dépollueur"
|
|
|
|
sudo apt-get install -y --fix-missing build-essential make g++ libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libcurl4-gnutls-dev libssl-dev
|
|
|
|
mkdir -p "${KAZ_GIT_DIR}"
|
|
cd "${KAZ_GIT_DIR}"
|
|
if [ ! -d "depollueur" ]; then
|
|
git clone "${SRC_DEP}"
|
|
fi
|
|
cd depollueur
|
|
git reset --hard && git pull
|
|
make
|
|
|
|
. "${DOCKERS_ENV}"
|
|
echo "${domain}" > "src/bash/domainname"
|
|
|