Skip to content

Commit 69c2099

Browse files
authored
1 parent a38c344 commit 69c2099

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/v-change-user-php-cli

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ if [ ! -f "$HESTIA_INSTALL_DIR/multiphp/$WEB_SYSTEM/PHP-${version//.}.sh" ]; the
4848
exit
4949
fi
5050

51-
#create .bash_aliases is not exsists
51+
# Create .bash_aliases is not exsists
5252
if [ ! -f "$FILE" ]; then
53-
touch "$FILE"
53+
touch $FILE
54+
chown $user:$user $FILE
5455
fi
5556

5657
if grep -q "alias php='env php$version'" "$FILE"; then

0 commit comments

Comments
 (0)