@@ -314,6 +314,12 @@ function reconfigure_matrix {
}
function upgrade_matrix {
+ if [ ! -d /etc/sydent ]; then
+ return
+ fi
+ if [ ! -d /etc/matrix ]; then
systemctl stop turn
systemctl stop matrix
systemctl stop sydent