mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update main.sh
This commit is contained in:
parent
e4b0be46b6
commit
9ac43d1f8f
1 changed files with 2 additions and 2 deletions
|
@ -1047,8 +1047,8 @@ escape_shell_quote() {
|
|||
}
|
||||
|
||||
replace_php_config_value() {
|
||||
if [ ! -z $4 ]; then
|
||||
if [ "$4" = "yes" ] || [ $4 -eq 1 ]; then
|
||||
if [ ! -z "$4" ]; then
|
||||
if [ "$4" = "yes" ] || [ "$4" = "true" ] || [ "$4" = "1" ] || [ $4 -eq 1 ]; then
|
||||
echo "=== Replacing $1 to $2 in $3"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue