diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-26 16:06:53 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-26 16:06:53 -0300 |
commit | 7592118ed1c8952d05f1239e3b84d85d39ea2982 (patch) | |
tree | a64458d6cf63491098ae73d08235c8c5b6402525 | |
parent | 4d3cf060c4a7d2b671d9cdf0ab0f6c1d89a8204b (diff) |
Re-enabled check on other repos; skip already released packages
-rwxr-xr-x | db-update | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -35,9 +35,9 @@ for repo in ${repos[@]}; do if ! check_pkgfile "${pkg}"; then die "Package ${repo}/$(basename ${pkg}) is not consistent with its meta data" fi - #if ! check_pkgrepos "${pkg}"; then - # die "Package ${repo}/$(basename ${pkg}) already exists in another repository" - #fi + if ! check_pkgrepos "${pkg}"; then + die "Package ${repo}/$(basename ${pkg}) already exists in another repository" + fi done # This is fucking obnoxious # if ! check_splitpkgs ${repo} ${pkgs[@]}; then @@ -61,7 +61,7 @@ for repo in ${repos[@]}; do if [ -f "${pkg}" ]; then mv "${pkg}" "$FTP_BASE/${PKGPOOL}" fi - ln -s "../../../${PKGPOOL}/${pkgfile}" "$FTP_BASE/$repo/os/${pkgarch}" + ln -s "../../../${PKGPOOL}/${pkgfile}" "$FTP_BASE/$repo/os/${pkgarch}" 2>/dev/null || { error "Package already in repo, skipping" ; continue } # also move signatures if [ -f "${pkg}.sig" ]; then mv "${pkg}.sig" "$FTP_BASE/${PKGPOOL}" |