diff options
author | Maxim Devaev <[email protected]> | 2025-01-19 18:20:39 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2025-01-19 18:20:39 +0200 |
commit | e9443119ec756486fcae11c2307b2582cc8456b3 (patch) | |
tree | 3837e0b17cbe029f2c115008754262bf400b567f /kvmd.install | |
parent | ab5608e3e001a3b6982e675f53477e40f410dfd3 (diff) |
required ustreamer 6.24 at least
Diffstat (limited to 'kvmd.install')
-rw-r--r-- | kvmd.install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install index 8a79b15d..e6efb8e8 100644 --- a/kvmd.install +++ b/kvmd.install @@ -108,6 +108,10 @@ EOF fi fi + if [[ "$(vercmp "$2" 4.45)" -lt 0 ]]; then + cp /usr/share/kvmd/configs.default/janus/janus.plugin.ustreamer.jcfg /etc/kvmd/janus || true + fi + # Some update deletes /etc/motd, WTF # shellcheck disable=SC2015,SC2166 [ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd || true |