File tree Expand file tree Collapse file tree 3 files changed +15
-21
lines changed
Expand file tree Collapse file tree 3 files changed +15
-21
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,11 @@ function update_script() {
2727 msg_error " No ${APP} Installation Found!"
2828 exit
2929 fi
30- msg_error " Update via the Matterbridge UI"
30+ $STD apt-get update
31+ $STD apt-get upgrade -y
32+ NODE_VERSION=" 22"
33+ NODE_MODULE=" matterbridge"
34+ install_node_and_modules
3135 exit
3236}
3337
@@ -38,4 +42,4 @@ description
3842msg_ok " Completed Successfully!\n"
3943echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
4044echo -e " ${INFO}${YW} Access it using the following URL:${CL} "
41- echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :8283${CL} "
45+ echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :8283${CL} "
Original file line number Diff line number Diff line change 66 ],
77 "date_created" : " 2024-06-12" ,
88 "type" : " ct" ,
9- "updateable" : false ,
9+ "updateable" : true ,
1010 "privileged" : false ,
1111 "interface_port" : 8283 ,
1212 "documentation" : null ,
3535 {
3636 "text" : " If the LXC is created Privileged, the script will automatically set up USB passthrough." ,
3737 "type" : " warning"
38+ },
39+ {
40+ "text" : " Updatable via the Matterbridge WebUI" ,
41+ "type" : " info"
3842 }
3943 ]
4044}
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33# Copyright (c) 2021-2025 tteck
4- # Author: tteck
5- # Co-Author: MickLesk (Canbiz)
4+ # Author: MickLesk (Canbiz)
65# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
76# Source: https://github.com/Luligu/matterbridge/
87
@@ -14,24 +13,11 @@ setting_up_container
1413network_check
1514update_os
1615
17- msg_info " Installing Dependencies"
18- $STD apt-get install -y gpg
19- msg_ok " Installed Dependencies"
20-
21- msg_info " Setting up Node.js Repository"
22- mkdir -p /etc/apt/keyrings
23- curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
24- echo " deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" > /etc/apt/sources.list.d/nodesource.list
25- msg_ok " Set up Node.js Repository"
26-
27- msg_info " Installing Node.js"
28- $STD apt-get update
29- $STD apt-get install -y nodejs
30- msg_ok " Installed Node.js"
31-
3216msg_info " Install Matterbridge"
3317mkdir -p /root/Matterbridge
34- $STD npm install -g matterbridge
18+ NODE_VERSION=" 22"
19+ NODE_MODULE=" matterbridge"
20+ install_node_and_modules
3521msg_ok " Installed Matterbridge"
3622
3723msg_info " Creating Service"
You can’t perform that action at this time.
0 commit comments