diff --git a/cyclos/hooks/pre_deploy b/cyclos/hooks/pre_deploy index 067036a1..3b51a64f 100755 --- a/cyclos/hooks/pre_deploy +++ b/cyclos/hooks/pre_deploy @@ -37,6 +37,7 @@ if ! [ -e "$CONTROL_PASSWORD_FILE" ] || [ "$control_password" != "$(cat "$CONTRO debug "Failed to set password for admin users." exit 1 fi + mkdir -p "${CONTROL_PASSWORD_FILE%/*}" e "$control_password" > "$CONTROL_PASSWORD_FILE" fi