summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-16 14:05:43 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-16 14:05:43 -0500
commit0bb0476a6cff7b5ad79c518bcb95c6ee170b0ac9 (patch)
treec327ff49f49200ddc184a4e1a2f1aee7144c4c87 /db-update
parent375f87c696cb7838c17922a83e956adbec8ef414 (diff)
parent1ce0c6368d0908e25f9bd1bb8183b5f29053fac8 (diff)
Merge branch 'master' of git://projects.archlinux.org/dbscripts
Conflicts: db-functions
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update7
1 files changed, 7 insertions, 0 deletions
diff --git a/db-update b/db-update
index 4740809..6bd0209 100755
--- a/db-update
+++ b/db-update
@@ -61,6 +61,13 @@ for repo in ${repos[@]}; do
mv "${pkg}" "$FTP_BASE/${PKGPOOL}"
fi
ln -s "../../../${PKGPOOL}/${pkgfile}" "$FTP_BASE/$repo/os/${pkgarch}"
+ # also move signatures
+ if [ -f "${pkg}.sig" ]; then
+ mv "${pkg}.sig" "$FTP_BASE/${PKGPOOL}"
+ fi
+ if [ -f "$FTP_BASE/${PKGPOOL}/${pkgfile}.sig" ]; then
+ ln -s "../../../${PKGPOOL}/${pkgfile}.sig" "$FTP_BASE/$repo/os/${pkgarch}"
+ fi
add_pkgs[${#add_pkgs[*]}]=${pkgfile}
done
if [ ${#add_pkgs[@]} -ge 1 ]; then