[arch-dev-public] dbscripts [PATCH] 2/2

Firmicus Firmicus at gmx.net
Tue Sep 15 04:28:05 EDT 2009

It happened to me in the past that I ran "extrapkg" by mistake on a
package that had not been updated. It still ended up in ~/staging/extra
on gerolde, and when I ran "/arch/db-update extra" it died in the middle
of the process of updating a dozen packages. I had to clean the mess by

This patch avoids this situation by checking, before starting the update
process, whether any pkg in the staging dir is actually already present
in the ftp repo, and in such a case removing it from the staging dir.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-pkg-from-stagedir-if-already-in-FTP-repo.patch
Type: text/x-patch
Size: 1311 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20090915/5367597d/attachment-0001.bin>

More information about the arch-dev-public mailing list