Skip to content

Commit e59908f

Browse files
authored
Code format update
1 parent 7eab4dc commit e59908f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bin/v-add-user-wp-cli

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#
88
# The function adds support for wp-cli to the user account
99

10+
1011
#----------------------------------------------------------#
1112
# Variable&Function #
1213
#----------------------------------------------------------#
@@ -19,6 +20,7 @@ if [ -z "$HESTIA" ]; then
1920
fi
2021
source $HESTIA/func/main.sh
2122

23+
2224
#----------------------------------------------------------#
2325
# Verifications #
2426
#----------------------------------------------------------#
@@ -33,6 +35,7 @@ is_object_unsuspended 'user' 'USER' "$user"
3335
# Perform verification if read-only mode is enabled
3436
check_hestia_demo_mode
3537

38+
3639
#----------------------------------------------------------#
3740
# Action #
3841
#----------------------------------------------------------#
@@ -55,6 +58,7 @@ chown $user:$user "$WPCLI_DIR"
5558
user_exec wget --tries=3 --timeout=15 --read-timeout=15 --waitretry=3 --no-dns-cache --quiet -O $WPCLI_BIN https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
5659
user_exec chmod +x $WPCLI_BIN
5760

61+
5862
#----------------------------------------------------------#
5963
# Hestia #
6064
#----------------------------------------------------------#
@@ -63,4 +67,4 @@ user_exec chmod +x $WPCLI_BIN
6367
log_history "Enabled wp-cli for user $user"
6468
log_event "$OK" "$ARGUMENTS"
6569

66-
exit
70+
exit

0 commit comments

Comments
 (0)