first commit
This commit is contained in:
27
config/orgaTmpl/init-paheko.sh
Executable file
27
config/orgaTmpl/init-paheko.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#!/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}
|
Reference in New Issue
Block a user