Avoid problem with matrix after installing apps
This commit is contained in:
parent
93fc9b2613
commit
0d8fe26da3
|
@ -1999,7 +1999,16 @@ function menu_top_level {
|
||||||
2) menu_backup_restore;;
|
2) menu_backup_restore;;
|
||||||
3) menu_app_settings;;
|
3) menu_app_settings;;
|
||||||
4) if ! /usr/local/bin/addremove; then
|
4) if ! /usr/local/bin/addremove; then
|
||||||
|
if [ -d /etc/matrix ]; then
|
||||||
|
systemctl restart matrix
|
||||||
|
systemctl restart nginx
|
||||||
|
fi
|
||||||
any_key
|
any_key
|
||||||
|
else
|
||||||
|
if [ -d /etc/matrix ]; then
|
||||||
|
systemctl restart matrix
|
||||||
|
systemctl restart nginx
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
5) logging_on_off;;
|
5) logging_on_off;;
|
||||||
|
|
Loading…
Reference in New Issue