Check if matrix is installed
This commit is contained in:
parent
c051ab2524
commit
3b96ffd37f
|
@ -314,6 +314,12 @@ function reconfigure_matrix {
|
||||||
}
|
}
|
||||||
|
|
||||||
function upgrade_matrix {
|
function upgrade_matrix {
|
||||||
|
if [ ! -d /etc/sydent ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
if [ ! -d /etc/matrix ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
systemctl stop turn
|
systemctl stop turn
|
||||||
systemctl stop matrix
|
systemctl stop matrix
|
||||||
systemctl stop sydent
|
systemctl stop sydent
|
||||||
|
|
Loading…
Reference in New Issue