From: Paul Hänsch Date: Wed, 20 Sep 2023 10:14:20 +0000 (+0200) Subject: allow move / rename /delete of overrides to immutable pages X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=8df830ae79651c656e156be1ba634997ce476627;p=shellwiki allow move / rename /delete of overrides to immutable pages --- 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