Compare commits

..

2 Commits

Author SHA1 Message Date
tteckster f442c1b328
Update update-lxcs.sh
- postfix fix
fixes https://github.com/tteck/Proxmox/issues/2270
2023-12-30 07:59:11 -05:00
tteckster 109b0893c4
Update scrypted-install.sh
add npm (node 18.x stopped utilizing npm by default)
2023-12-30 07:11:02 -05:00
2 changed files with 4 additions and 3 deletions

View File

@ -71,10 +71,11 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js"
msg_info "Installing Node.js/npm"
$STD apt-get update
$STD apt-get install -y nodejs
msg_ok "Installed Node.js"
$STD apt-get install -y npm
msg_ok "Installed Node.js/npm"
msg_info "Updating Python3"
$STD apt-get install -y \

View File

@ -67,7 +67,7 @@ function update_container() {
alpine) pct exec "$container" -- ash -c "apk update && apk upgrade" ;;
archlinux) pct exec "$container" -- bash -c "pacman -Syyu --noconfirm" ;;
fedora | rocky | centos | alma) pct exec "$container" -- bash -c "dnf -y update && dnf -y upgrade" ;;
ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get update 2>/dev/null | grep 'packages.*upgraded'; apt list --upgradable && apt-get -yq dist-upgrade 2>&1 | grep -v '^N:'" ;;
ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get update 2>/dev/null | grep 'packages.*upgraded'; apt list --upgradable && apt-get -yq dist-upgrade 2>&1" ;;
esac
}