KazV2/config/orgaTmpl/init-paheko.sh

28 lines
464 B
Bash
Raw Normal View History

2024-06-03 18:43:35 +02:00
#!/bin/bash
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}