php install with force
php installation now acepts force option for unattended scripts, to avoid nginx question.
This commit is contained in:
parent
63e7c70486
commit
22f9bfbfa1
|
@ -18,14 +18,13 @@ fi
|
||||||
|
|
||||||
# FORCE - Unattended Purge
|
# FORCE - Unattended Purge
|
||||||
clear_force_flag() {
|
clear_force_flag() {
|
||||||
if [[ $(conf_read delall) == "true" ]]; then
|
[[ $(conf_read delall) == "true" ]] && conf_delete delall
|
||||||
conf_delete delall
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
if [[ $arg == "-purge=force" || $opt == "-purge-server-all=force" ]]; then
|
if [[ $arg == "-purge=force" || $opt == "-purge-server-all=force" || $opt == "-php=force" ]]; then
|
||||||
conf_write delall true
|
conf_write delall true
|
||||||
[[ $arg == "-purge=force" ]] && arg="-purge"
|
[[ $arg == "-purge=force" ]] && arg="-purge"
|
||||||
[[ $opt == "-purge-server-all=force" ]] && opt="-purge-server-all"
|
[[ $opt == "-purge-server-all=force" ]] && opt="-purge-server-all"
|
||||||
|
[[ $opt == "-php=force" ]] && opt="-php"
|
||||||
force="1"
|
force="1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue