Skip to content

Commit e26681e

Browse files
authored
Allows wp package install with correct path (hestiacp#2565)
with /.wp folder the wp package install or wp package list command get Permission error because wp-cli searches for wp-cli folder.
1 parent 30a8f16 commit e26681e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-user-wp-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ check_hestia_demo_mode
4040
# Action #
4141
#----------------------------------------------------------#
4242

43-
WPCLI_DIR="/home/$user/.wp"
43+
WPCLI_DIR="/home/$user/.wp-cli"
4444
WPCLI_BIN="$WPCLI_DIR/wp"
4545

4646
if [ -f "$WPCLI_DIR" ]; then

0 commit comments

Comments
 (0)