Ensure custom.d is not empty for #debug
This commit is contained in:
parent
4dfee6cff3
commit
8512800838
4
pleroma
4
pleroma
@ -121,6 +121,10 @@ action__debug() {
|
|||||||
mkdir -p ./debug.d/{build,deps}
|
mkdir -p ./debug.d/{build,deps}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ! -d ./custom.d/lib ]]; then
|
||||||
|
mkdir -p ./custom.d/lib
|
||||||
|
fi
|
||||||
|
|
||||||
action__stop
|
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'
|
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user