KazV2/config/orgaTmpl/init-paheko.sh

30 lines
520 B
Bash
Raw Permalink Normal View History

2024-06-03 18:43:35 +02:00
#!/bin/bash
#rq fab le 08/08/2024 : ne sert plus à rien à priori
2024-06-03 18:43:35 +02:00
KAZ_ROOT=$(cd $(dirname $0)/../..; pwd)
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
setKazVars
. "${DOCKERS_ENV}"
cd $(dirname $0)
PWD=$(pwd)
ORGA_DIR=$(basename ${PWD})
if [[ "${ORGA_DIR}" != *"-orga" ]]
then
printKazError "it's not an orga dir"
exit
fi
ORGA=${ORGA_DIR%-orga}
if [[ -z "${ORGA}" ]]
then
printKazError "it's not an orga dir"
exit
fi
printKazMsg "init paheko ${ORGA}"
#${KAZ_COMP_DIR}/paheko/installPlugins.sh ${ORGA}