summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-02 23:23:01 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-02 23:23:01 -0400
commit4bc5d6607295d4054d67e0dfe6da56cbb7381999 (patch)
tree635824f7f4ce1114a2f95ea8a10ae1ae887f64f3
parentaa0e029fce58e0f8b1a5508069450ebbfa9a9c2e (diff)
Drop support code for old pkgpool-les repository format.pending
We switched away in 2011 at the latest.
-rw-r--r--db-functions11
1 files changed, 0 insertions, 11 deletions
diff --git a/db-functions b/db-functions
index f021299..1d37123 100644
--- a/db-functions
+++ b/db-functions
@@ -378,17 +378,6 @@ check_pkgrepos() {
[ -f "${FTP_BASE}/${PKGPOOL}/${pkgfile##*/}" ] && return 1
[ -f "${FTP_BASE}/${PKGPOOL}/${pkgfile##*/}.sig" ] && return 1
- local repo
- local arch
- for repo in "${PKGREPOS[@]}"; do
- for arch in "${ARCHES[@]}"; do
- [ -f "${FTP_BASE}/${repo}/os/${arch}/${pkgname}-${pkgver}-${pkgarch}"${PKGEXT} ] && return 1
- [ -f "${FTP_BASE}/${repo}/os/${arch}/${pkgname}-${pkgver}-${pkgarch}"${PKGEXT}.sig ] && return 1
- [ -f "${FTP_BASE}/${repo}/os/${arch}/${pkgfile##*/}" ] && return 1
- [ -f "${FTP_BASE}/${repo}/os/${arch}/${pkgfile##*/}.sig" ] && return 1
- done
- done
-
return 0
}