Files
ProxmoxVE/install/nzbget-install.sh

38 lines
855 B
Bash
Raw Normal View History

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