mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-18 16:32:17 +00:00
Install libde265-dev from Testing; refactor install check logic in update (#10810)
This commit is contained in:
@@ -57,9 +57,12 @@ EOF
|
|||||||
fi
|
fi
|
||||||
$STD apt update
|
$STD apt update
|
||||||
msg_ok "Added Debian Testing repo"
|
msg_ok "Added Debian Testing repo"
|
||||||
msg_info "Installing libmimalloc3"
|
fi
|
||||||
$STD apt install -t testing --no-install-recommends libmimalloc3
|
|
||||||
msg_ok "Installed libmimalloc3"
|
if ! dpkg -l "libmimalloc3" | grep -q '3.1' || ! dpkg -l "libde265-dev" | grep -q '1.0.16'; then
|
||||||
|
msg_info "Installing/upgrading Testing repo packages"
|
||||||
|
$STD apt install -t testing libmimalloc3 libde265-dev -y
|
||||||
|
msg_ok "Installed/upgraded Testing repo packages"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f /etc/apt/sources.list.d/mise.list ]]; then
|
if [[ ! -f /etc/apt/sources.list.d/mise.list ]]; then
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ $STD apt install --no-install-recommends -y \
|
|||||||
libltdl-dev \
|
libltdl-dev \
|
||||||
libgdk-pixbuf-2.0-dev \
|
libgdk-pixbuf-2.0-dev \
|
||||||
libbrotli-dev \
|
libbrotli-dev \
|
||||||
libde265-dev \
|
|
||||||
libexif-dev \
|
libexif-dev \
|
||||||
libexpat1-dev \
|
libexpat1-dev \
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
@@ -130,9 +129,9 @@ Pin-Priority: 450
|
|||||||
EOF
|
EOF
|
||||||
$STD apt update
|
$STD apt update
|
||||||
msg_ok "Configured Debian Testing repo"
|
msg_ok "Configured Debian Testing repo"
|
||||||
msg_info "Installing libmimalloc3"
|
msg_info "Installing packages from Debian Testing repo"
|
||||||
$STD apt install -t testing --no-install-recommends -yqq libmimalloc3
|
$STD apt install -t testing --no-install-recommends -yqq libmimalloc3 libde265-dev
|
||||||
msg_ok "Installed libmimalloc3"
|
msg_ok "Installed packages from Debian Testing repo"
|
||||||
|
|
||||||
PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]')"
|
PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]')"
|
||||||
NODE_VERSION="24" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs
|
NODE_VERSION="24" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs
|
||||||
|
|||||||
Reference in New Issue
Block a user