mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-02-03 20:03:25 +01:00
* chore: bump copyright to 2026 - happy new year * fix * meilisearch fix source url * livebook: fix space * fix source cmd * fix source cmd
38 lines
855 B
Bash
38 lines
855 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
|
|
|
|
msg_info "Installing Dependencies"
|
|
$STD apt install -y \
|
|
par2 \
|
|
unrar-free
|
|
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|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
|
|
msg_ok "Installed NZBGet"
|
|
|
|
motd_ssh
|
|
customize
|
|
cleanup_lxc
|