mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[microdecision] Fix detection of bind9/apache2 before starting the actual install
Credit goes to Guigo for spotting this (and another person who reported similar malfunction for apache2)
This commit is contained in:
parent
4c924e83b8
commit
5a66ff9e0e
1 changed files with 2 additions and 2 deletions
|
@ -217,10 +217,10 @@ function check_assertions()
|
|||
fi
|
||||
|
||||
# Check possible conflict with apache, bind9.
|
||||
[[ -z "$(dpkg --get-selections | grep -v deinstall | grep 'bind9 ')" ]] || [[ "$FORCE" == "1" ]] \
|
||||
[[ -z "$(dpkg --get-selections | grep -v deinstall | grep 'bind9\s')" ]] || [[ "$FORCE" == "1" ]] \
|
||||
|| die "Bind9 is installed and might conflict with dnsmasq. Uninstall it first, or if you know what you are doing, run this script with -f."
|
||||
|
||||
[[ -z "$(dpkg --get-selections | grep -v deinstall | grep 'apache2 ')" ]] || [[ "$FORCE" == "1" ]] \
|
||||
[[ -z "$(dpkg --get-selections | grep -v deinstall | grep 'apache2\s')" ]] || [[ "$FORCE" == "1" ]] \
|
||||
|| die "Apache is installed and might conflict with nginx. Uninstall it first, or if you know what you are doing, run this script with -f."
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue