Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
install: Try apt-get update if the Ubuntu universe check fails.
Anders Kaseorg0b454dda1207
diff --git a/scripts/lib/install b/scripts/lib/installindex 2b870893575..3192de29055 100755--- a/scripts/lib/install+++ b/scripts/lib/install@@ -232,8 +232,12 @@ EOF;;esac-if [ "$os_id" = ubuntu ] && ! apt-cache policy \- | grep -q "^ release v=$os_version_id,o=Ubuntu,a=$os_version_codename,n=$os_version_codename,l=Ubuntu,c=universe"; then+has_universe() {+ apt-cache policy \+ | grep -q "^ release v=$os_version_id,o=Ubuntu,a=$os_version_codename,n=$os_version_codename,l=Ubuntu,c=universe"+}++if [ "$os_id" = ubuntu ] && ! has_universe && ! { apt-get update && has_universe; }; thenset +xcat <<'EOF'