Files
ProxmoxVE/install/nzbget-install.sh
Slaviša Arežina 8be52ab1ad Fixes (#12675)
2026-03-08 13:25:24 +01:00

39 lines
789 B
Bash

#!/usr/bin/env bash
# Copyright (c) 2021-2026 tteck
# Author: tteck
# Co-Author: havardthom
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://nzbget.com/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
setup_nonfree
msg_info "Installing Dependencies"
$STD apt install -y \
par2 \
unrar
msg_ok "Installed Dependencies"
msg_info "Installing NZBGet"
setup_deb822_repo \
"nzbgetcom" \
"https://nzbgetcom.github.io/nzbgetcom.asc" \
"https://nzbgetcom.github.io/deb" \
"stable"
$STD apt install -y nzbget
sed -i "s|SevenZipCmd=7zz|SevenZipCmd=7z|g" /var/lib/nzbget/nzbget.conf
systemctl restart nzbget
msg_ok "Installed NZBGet"
motd_ssh
customize
cleanup_lxc