From 8df830ae79651c656e156be1ba634997ce476627 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 20 Sep 2023 12:14:20 +0200 Subject: [PATCH] allow move / rename /delete of overrides to immutable pages --- handlers/60_move_rename_delete.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/60_move_rename_delete.sh b/handlers/60_move_rename_delete.sh index 27246bd..749affc 100755 --- a/handlers/60_move_rename_delete.sh +++ b/handlers/60_move_rename_delete.sh @@ -33,7 +33,7 @@ case "${PATH_INFO}" in printf 'Refresh: %i, url=%s\r\n' 4 ./ theme_error 403 return 0 - elif [ -d "$_EXEC/pages/${page}/" ]; then + elif [ ! -d "$_DATA/pages/${page}" -a -d "$_EXEC/pages/${page}" ]; then theme_page - <<-EOF

-- 2.39.2