From 8512800838e38e5db035b8662a33012f5943e3e1 Mon Sep 17 00:00:00 2001 From: sn0w Date: Tue, 21 Aug 2018 03:47:26 +0200 Subject: [PATCH] Ensure custom.d is not empty for #debug --- pleroma | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pleroma b/pleroma index 26aa0c1..cc00756 100755 --- a/pleroma +++ b/pleroma @@ -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'