Skip to content

Commit 0da24e2

Browse files
authored
Fix tags (#4513)
1 parent fd689e9 commit 0da24e2

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

ct/go2rtc.sh

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
66
# Source: https://github.com/AlexxIT/go2rtc
77

88
APP="go2rtc"
9-
var_tags="${var_tags:-recorder;video}"
9+
var_tags="${var_tags:-streaming;video}"
1010
var_cpu="${var_cpu:-2}"
1111
var_ram="${var_ram:-2048}"
1212
var_disk="${var_disk:-4}"
@@ -20,22 +20,22 @@ color
2020
catch_errors
2121

2222
function update_script() {
23-
header_info
24-
check_container_storage
25-
check_container_resources
26-
if [[ ! -d /opt/go2rtc ]]; then
27-
msg_error "No ${APP} Installation Found!"
28-
exit
29-
fi
30-
msg_info "Updating $APP"
31-
systemctl stop go2rtc
32-
cd /opt/go2rtc
33-
rm go2rtc_linux_amd64
34-
curl -fsSL "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" -o $(basename "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64")
35-
chmod +x go2rtc_linux_amd64
36-
systemctl start go2rtc
37-
msg_ok "Updated $APP"
23+
header_info
24+
check_container_storage
25+
check_container_resources
26+
if [[ ! -d /opt/go2rtc ]]; then
27+
msg_error "No ${APP} Installation Found!"
3828
exit
29+
fi
30+
msg_info "Updating $APP"
31+
systemctl stop go2rtc
32+
cd /opt/go2rtc
33+
rm go2rtc_linux_amd64
34+
curl -fsSL "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" -o $(basename "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64")
35+
chmod +x go2rtc_linux_amd64
36+
systemctl start go2rtc
37+
msg_ok "Updated $APP"
38+
exit
3939
}
4040

4141
start

0 commit comments

Comments
 (0)