diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-09-05 13:32:27 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-09-05 13:32:27 +0200 |
commit | 6f29ee2f02c2a8e2991599ce1d76a59b58a7ee67 (patch) | |
tree | d5bea9dd1cc7109f616f56507ceb80626fd606a0 /db-update | |
parent | cca13c2b41ba1389ce4187a728e05a376ad3ad0d (diff) | |
download | dbscripts-6f29ee2f02c2a8e2991599ce1d76a59b58a7ee67.tar.gz dbscripts-6f29ee2f02c2a8e2991599ce1d76a59b58a7ee67.tar.xz |
Check if package exists in any other repository on update20100906
This also checks if the sam package exists within the old package
layout (without package pool)
Diffstat (limited to 'db-update')
-rwxr-xr-x | db-update | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,8 +38,8 @@ for repo in ${repos[@]}; do if ! check_pkgsvn "${pkg}" "${repo}"; then die "Package ${repo}/$(basename ${pkg}) is not consistent with svn repository" fi - if [ -f "${FTP_BASE}/$(get_pkgpool_for_host)/$(basename ${pkg})" ]; then - die "Package ${repo}/$(basename ${pkg}) already exists in ${FTP_BASE}/$(get_pkgpool_for_host)" + if ! check_pkgrepos "${pkg}"; then + die "Package ${repo}/$(basename ${pkg}) already exists in another repository" fi done else |