mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 00:54:00 -04:00
various scripts: use ensure_dependencies instead of apt (#11463)
* refactor(ct): replace apt install with ensure_dependencies in update_script functions * refactor(ct): replace remaining apt install with ensure_dependencies * refactor(ct): replace remaining apt install with ensure_dependencies * refactor(ct): remove redundant dpkg checks before ensure_dependencies * refactor(ct): remove ALL redundant checks before ensure_dependencies * Update neo4j.sh
This commit is contained in:
committed by
GitHub
parent
ac74b760f0
commit
7fc77fe5be
@@ -45,7 +45,7 @@ function update_script() {
|
||||
LIBHEIF_URL=$(curl -fsSL "https://dl.photoprism.app/dist/libheif/" | grep -oP "libheif-bookworm-amd64-v[0-9\.]+\.tar\.gz" | sort -V | tail -n 1)
|
||||
if [[ "${LIBHEIF_URL}" != "$(cat ~/.photoprism_libheif 2>/dev/null)" ]] || [[ ! -f ~/.photoprism_libheif ]]; then
|
||||
msg_info "Updating PhotoPrism LibHeif"
|
||||
$STD apt install -y libvips42
|
||||
ensure_dependencies libvips42
|
||||
curl -fsSL "https://dl.photoprism.app/dist/libheif/$LIBHEIF_URL" -o /tmp/libheif.tar.gz
|
||||
tar -xzf /tmp/libheif.tar.gz -C /usr/local
|
||||
ldconfig
|
||||
|
||||
Reference in New Issue
Block a user