From 186e8acc2df2a2dbf4b7ade89a30ec921d9f60fd Mon Sep 17 00:00:00 2001
From: Georg Krause <mail@georg-krause.net>
Date: Mon, 19 Sep 2022 10:02:56 +0200
Subject: [PATCH] Pin down twisted on Ubuntu Focal

---
 install.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/install.sh b/install.sh
index f19649f..0a895e7 100644
--- a/install.sh
+++ b/install.sh
@@ -277,6 +277,12 @@ EOF
       funkwhale_systemd_managed: false
 EOF
     fi
+		if [ "$(lsb_release -sc)" = "focal" ]; then
+			cat <<EOF >>playbook.yml
+      funkwhale_custom_pip_packages:
+        - twisted==22.4.0
+EOF
+		fi
     cat <<EOF >reconfigure
 #!/bin/sh
 # reapply playbook with existing parameter
-- 
GitLab