summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-21 17:15:33 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-21 17:15:33 -0300
commit9a535045c075d90a962d2817651140feaeb59952 (patch)
tree3a1ffddeced36b562825577d2f0c95a69282576b /db-update
parent0e43f902b1056bfbed57cba6bb299a75fcdb19a0 (diff)
Fix
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-update b/db-update
index 1fe5256..7a8d6d1 100755
--- a/db-update
+++ b/db-update
@@ -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}" 2>/dev/null || { error "Package already in repo, skipping" ; continue }
+ ln -s "../../../${PKGPOOL}/${pkgfile}" "$FTP_BASE/$repo/os/${pkgarch}" 2>/dev/null || { error "Package already in repo, removing and skipping" ; continue 2; }
# also move signatures
if [ -f "${pkg}.sig" ]; then
mv "${pkg}.sig" "$FTP_BASE/${PKGPOOL}"