@@ -76,4 +76,9 @@ if [ "$MAIL_SYSTEM" == "exim4" ]; then
fi
$HESTIA/bin/v-restart-mail
-fi
+fi
+
+# Fix PostgreSQL repo
+if [ -f /etc/apt/sources.list.d/postgresql.list ]; then
+ sed -i 's|deb https://apt.postgresql.org/pub/repos/apt/|deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/|g' /etc/apt/sources.list.d/postgresql.list