add qbittorrent custom image upgrade agian

This commit is contained in:
lucas committed 2026-10-24 20:11:11 +02:00
1 parent 5ec0108117
commit 2ec34dd1be
1 file changed
+18 -18
+18 -18
View File
@@ -250,24 +250,24 @@ if command -v docker >/dev/null 2>&1; then
echo "####################################################" echo "####################################################"
case "$image" in case "$image" in
# qbittorrent-qbittorrent:*) qbittorrent-qbittorrent:*)
# echo "Updating custom qBittorrent image..." echo "Updating custom qBittorrent image..."
# ( (
# latest="$(curl -s https://api.github.com/repos/qbittorrent/qBittorrent/releases/latest | grep '"tag_name"' | cut -d '"' -f 4 | cut -d '-' -f2)" latest="$(curl -s https://api.github.com/repos/qbittorrent/qBittorrent/releases/latest | grep '"tag_name"' | cut -d '"' -f 4 | cut -d '-' -f2)"
# current="$(docker exec -it qbittorrent /app/qbittorrent-nox -v | cut -d 'v' -f2)" current="$(docker exec -it qbittorrent /app/qbittorrent-nox -v | cut -d 'v' -f2)"
# if [[ "$LATEST" != "$CURRENT" && "$BUILD" == "true" ]]; then if [[ "$LATEST" != "$CURRENT" && "$BUILD" == "true" ]]; then
# echo "New version available: $CURRENT -> $LATEST" echo "New version available: $CURRENT -> $LATEST"
# cd /docker/qbittorrent && cd /docker/qbittorrent &&
# docker compose build --pull && docker compose build --pull &&
# docker compose up -d docker compose up -d
# elif [[ "$LATEST" != "$CURRENT" ]]; then elif [[ "$LATEST" != "$CURRENT" ]]; then
# echo "New version available: $CURRENT -> $LATEST" echo "New version available: $CURRENT -> $LATEST"
# echo "BUILD is turend off" echo "BUILD is turend off"
# else else
# echo "No new version available: $CURRENT == $LATEST" echo "No new version available: $CURRENT == $LATEST"
# fi fi
# ) )
# ;; ;;
nextcloud:*) nextcloud:*)
docker pull "$image" docker pull "$image"
docker exec -it nextcloud php occ app:update --all docker exec -it nextcloud php occ app:update --all