Install xmllint

This commit is contained in:
Ben Sarmiento
2024-01-13 11:43:42 +01:00
parent ebab40d3e6
commit 6a5ccd72ac
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ ARG GitCommit
ARG Version ARG Version
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN apk add --no-cache bash git go gcc musl-dev curl fuse RUN apk add --no-cache bash git go gcc musl-dev curl fuse xmllint
RUN go build -ldflags "-s -w -X 'github.com/debridmediamanager/zurg/internal/version.BuiltAt=$BuiltAt' -X 'github.com/debridmediamanager/zurg/internal/version.GitCommit=$GitCommit' -X 'github.com/debridmediamanager/zurg/internal/version.Version=$Version'" -o zurg ./cmd/zurg RUN go build -ldflags "-s -w -X 'github.com/debridmediamanager/zurg/internal/version.BuiltAt=$BuiltAt' -X 'github.com/debridmediamanager/zurg/internal/version.GitCommit=$GitCommit' -X 'github.com/debridmediamanager/zurg/internal/version.Version=$Version'" -o zurg ./cmd/zurg
# Obfuscation stage # Obfuscation stage

View File

@@ -153,7 +153,7 @@ func (t *TorrentManager) repair(torrent *Torrent) {
t.log.Warnf("Torrent %s is not older than %d hours to be repaired by reinsertion, will only redownload broken files...", t.GetKey(torrent), EXPIRED_LINK_TOLERANCE_HOURS) t.log.Warnf("Torrent %s is not older than %d hours to be repaired by reinsertion, will only redownload broken files...", t.GetKey(torrent), EXPIRED_LINK_TOLERANCE_HOURS)
} }
// handle rar'ed torrents // handle torrents with incomplete links for selected files
assignedCount := 0 assignedCount := 0
rarCount := 0 rarCount := 0
unassignedDownloads := make([]*realdebrid.Download, 0) unassignedDownloads := make([]*realdebrid.Download, 0)