Fix paketo chown option

This commit is contained in:
Álvaro Justen (@turicas)
2025-03-10 12:50:46 -03:00
parent 0249653e17
commit 96bb17d70c
3 changed files with 6 additions and 3 deletions

View File

@@ -44,6 +44,9 @@ cmd-storage-ensure-directory() {
CHOWN_FLAG="1000"
elif [[ "$CHOWN_FLAG" == "packeto" ]]; then
CHOWN_FLAG="2000"
dokku_log_verbose "Detected deprecated chown flag 'packeto'. Using 'paketo' instead. Please update your configuration."
elif [[ "$CHOWN_FLAG" == "paketo" ]]; then
CHOWN_FLAG="2000"
elif [[ "$CHOWN_FLAG" == "root" ]]; then
CHOWN_FLAG="0"
elif [[ "$CHOWN_FLAG" == "false" ]]; then