diff --git a/install_yunohost b/install_yunohost index c906c0c..9c487d0 100755 --- a/install_yunohost +++ b/install_yunohost @@ -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." }