mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
All other occurences (Camelcase / complete uppercase)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user