All other occurences (Camelcase / complete uppercase)

This commit is contained in:
int2001
2024-01-17 14:21:56 +00:00
parent c74a5475f2
commit 6001a828b1
4 changed files with 8 additions and 8 deletions

View File

@@ -7,15 +7,15 @@
# Please check the DIR_OWNERSHIP variable carefully to make sure it is
# appropriately set for your system!
# The user and group that own the CLOUDLOG_SUBDIR directories. Passed to 'chown' as-is.
# The user and group that own the WAVELOG_SUBDIR directories. Passed to 'chown' as-is.
DIR_OWNERSHIP="root:www-data"
# The list of directories that need to have ownership restored after a git pull
declare -a CLOUDLOG_SUBDIRS=("application/config" "assets" "backup" "updates" "uploads" "images/eqsl_card_images")
declare -a WAVELOG_SUBDIRS=("application/config" "assets" "backup" "updates" "uploads" "images/eqsl_card_images")
# The name of the Git remote to fetch/pull from
GIT_REMOTE="origin"
# If true, pull from the HEAD of the configured origin, otherwise the latest tag
BLEEDING_EDGE="true"
# If true, restore directory ownership on CLOUDLOG_SUBDIRS after a git pull
# If true, restore directory ownership on WAVELOG_SUBDIRS after a git pull
RESTORE_OWNERSHIP="true"
check_working_dir() {
@@ -51,7 +51,7 @@ fast_forward_to_head() {
}
restore_ownership() {
for dir in "${CLOUDLOG_SUBDIRS[@]}"; do
for dir in "${WAVELOG_SUBDIRS[@]}"; do
echo "Setting ownership as $DIR_OWNERSHIP on $dir"
chown -R $DIR_OWNERSHIP $(pwd)/$dir
done