We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a38c344 + 69c2099 commit 822b6c2Copy full SHA for 822b6c2
bin/v-change-user-php-cli
@@ -48,9 +48,10 @@ if [ ! -f "$HESTIA_INSTALL_DIR/multiphp/$WEB_SYSTEM/PHP-${version//.}.sh" ]; the
48
exit
49
fi
50
51
-#create .bash_aliases is not exsists
+# Create .bash_aliases is not exsists
52
if [ ! -f "$FILE" ]; then
53
- touch "$FILE"
+ touch $FILE
54
+ chown $user:$user $FILE
55
56
57
if grep -q "alias php='env php$version'" "$FILE"; then
0 commit comments