summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-06-10 12:02:50 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-06-10 12:02:50 +0200
commitfe19d9cff1cb41ed8456e4cce7be474599cbf503 (patch)
treed268d843b025fe909b78c0ad233fad3df3593e90 /db-functions
parentc639ae7d7a9fa5544d495e0b4d4f3b49611a7af9 (diff)
downloaddbscripts-fe19d9cff1cb41ed8456e4cce7be474599cbf503.tar.gz
dbscripts-fe19d9cff1cb41ed8456e4cce7be474599cbf503.tar.xz
Remove support for packages that are not in the package pool
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions11
1 files changed, 0 insertions, 11 deletions
diff --git a/db-functions b/db-functions
index c992fe5..de5e8b8 100644
--- a/db-functions
+++ b/db-functions
@@ -421,17 +421,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
}