mirror of https://github.com/tteck/Proxmox.git
Compare commits
5 Commits
122271dd34
...
59b2d529a2
Author | SHA1 | Date |
---|---|---|
tteckster | 59b2d529a2 | |
tteckster | 7d142d593e | |
tteckster | ecb4294a18 | |
tteckster | 482f60f90a | |
tteckster | a078adfaea |
|
@ -24,6 +24,7 @@ $STD apt-get install -y \
|
|||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing Bazarr"
|
||||
|
|
|
@ -52,6 +52,7 @@ $STD apt-get install -y \
|
|||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Setting up Node.js Repository"
|
||||
|
|
|
@ -25,6 +25,7 @@ $STD apt-get install -y \
|
|||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing Deluge"
|
||||
|
|
|
@ -26,6 +26,7 @@ $STD apt-get install -y \
|
|||
python3-dev \
|
||||
python3-pip \
|
||||
python3-venv
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing ESPHome"
|
||||
|
|
|
@ -25,6 +25,7 @@ $STD apt-get install -y \
|
|||
python3-dev \
|
||||
python3-pip \
|
||||
python3-venv
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing runlike"
|
||||
|
|
|
@ -26,6 +26,7 @@ $STD apt-get install -y \
|
|||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing Motion"
|
||||
|
|
|
@ -30,6 +30,7 @@ $STD apt-get install -y \
|
|||
python3-venv
|
||||
|
||||
$STD apt-get install -y python3-setuptools
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Creating user octoprint"
|
||||
|
|
|
@ -29,10 +29,10 @@ msg_ok "Installed Dependencies"
|
|||
|
||||
msg_info "Updating Python3"
|
||||
$STD apt-get install -y \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
$STD apt-get install -y python3-setuptools
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing SABnzbd"
|
||||
|
|
|
@ -79,6 +79,7 @@ $STD apt-get install -y \
|
|||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing Python3 Dependencies"
|
||||
|
|
|
@ -38,6 +38,7 @@ $STD apt-get install -y \
|
|||
python3-dev \
|
||||
python3-setuptools \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Setting up Node.js Repository"
|
||||
|
|
|
@ -26,6 +26,7 @@ $STD apt-get install -y \
|
|||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing Tautulli"
|
||||
|
|
|
@ -24,6 +24,7 @@ $STD apt-get install -y \
|
|||
python3 \
|
||||
python3-dev \
|
||||
python3-pip
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Python3"
|
||||
|
||||
msg_info "Installing Whoogle"
|
||||
|
|
|
@ -165,6 +165,7 @@ EOF
|
|||
fi
|
||||
$STD apt-get update
|
||||
$STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Updated Container OS"
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,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-get upgrade --dry-run && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" dist-upgrade -y" ;;
|
||||
ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get update 2>/dev/null | grep 'packages.*upgraded'; apt-get upgrade --dry-run && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" dist-upgrade -y; rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
|
@ -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" ;;
|
||||
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; rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue