diff options
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 |