Ensure custom.d is not empty for #debug

This commit is contained in:
sn0w 2018-08-21 03:47:26 +02:00
parent 4dfee6cff3
commit 8512800838
1 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,10 @@ action__debug() {
mkdir -p ./debug.d/{build,deps}
fi
if [[ ! -d ./custom.d/lib ]]; then
mkdir -p ./custom.d/lib
fi
action__stop
docker_compose run --rm -u pleroma -w /home/pleroma/pleroma $debug_mounts server bash -c 'cp -rvf /custom.d/* /home/pleroma/pleroma && mix deps.get'