summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-04-17 03:19:17 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-04-17 03:19:17 -0300
commitd246da4bb04eee35189c79c8466c21ff86678e42 (patch)
treec7167129c67a2d846adcca9245ebae134069aa8a /db-update
parent6ce3ddee58415e052ec578e777994a60c7e4c3a3 (diff)
parent1ce0c6368d0908e25f9bd1bb8183b5f29053fac8 (diff)
Merge branch 'master' of https://projects.archlinux.org/git/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