summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"