KazV2/config/orgaTmpl/init-paheko.sh
2024-06-03 18:43:35 +02:00

28 lines
464 B
Bash
Executable File

#!/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}