On Sat, Mar 12, 2011 at 9:27 PM, Allan McRae <allan@archlinux.org> wrote:
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
--- db-move | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/db-move b/db-move index a274cd3..11f6c15 100755 --- a/db-move +++ b/db-move @@ -87,6 +87,9 @@ for pkgbase in ${args[@]:2}; do cp ${pkgpath} ${FTP_BASE}/$(get_pkgpool_for_host) fi ln -s "../../../$(get_pkgpool_for_host)/${pkgfile}" ${ftppath_to}/${tarch}/ + if [ -f "$FTP_BASE/$(get_pkgpool_for_host)/${pkgfile}.sig" ]; then + ln -s "../../../$(get_pkgpool_for_host)/${pkgfile}.sig" ${ftppath_to}/${tarch}/ + fi add_pkgs[${tarch}]+="${FTP_BASE}/$(get_pkgpool_for_host)/${pkgfile} " remove_pkgs[${tarch}]+="${pkgname} " done -- 1.7.4.1