mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-06-25 02:13:00 +02:00
fixed typo
This commit is contained in:
parent
78d09bb06f
commit
82824fdc09
@ -15,8 +15,8 @@ dstDataPath=/mnt/storage/containers/$containerName/data
|
||||
externalPort=10111
|
||||
internalPort=25600
|
||||
|
||||
if [ -f "/ect/kaido/containers/$containerName/envs.sh" ]; then
|
||||
source /ect/kaido/containers/$containerName/envs.sh
|
||||
if [ -f "/etc/kaido/containers/$containerName/envs.sh" ]; then
|
||||
source /etc/kaido/containers/$containerName/envs.sh
|
||||
fi
|
||||
|
||||
|
||||
|
@ -14,7 +14,9 @@ domain="example.com"
|
||||
subdomains=""
|
||||
email="example@example.com"
|
||||
|
||||
source /ect/kaido/containers/$containerName/envs.sh
|
||||
if [ -f "/etc/kaido/containers/$containerName/envs.sh" ]; then
|
||||
source /etc/kaido/containers/$containerName/envs.sh
|
||||
fi
|
||||
|
||||
# pre install
|
||||
create_folder $dstConfigPath
|
||||
|
@ -105,7 +105,7 @@ for val in $installList; do
|
||||
# TODO support parameters
|
||||
if $(git -C "$root" diff --name-only $previusCommit $currentCommit src/commands/install | grep -qi $name) || \
|
||||
( [ -f "$confdir/containers/$name/envs.sh" ] && $(git -C "$confdir" diff --name-only $previusCommit_config $currentCommit_config "$confdir/containers/$name/envs.sh" | grep -qi "envs\.sh" ) ) || \
|
||||
[ ! $(git -C "$confdir" diff --name-only $previusCommit_config $currentCommit_config "$confdir/containers/$name/secrets") -z ] ; then
|
||||
( [ -d "$confdir/containers/$name/secrets"] && [ ! $(git -C "$confdir" diff --name-only $previusCommit_config $currentCommit_config "$confdir/containers/$name/secrets") -z ] ) ; then
|
||||
echo -e "Updating ${name} installation\n"
|
||||
$installScript $name
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user