diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-04-16 14:05:43 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-04-16 14:05:43 -0500 |
commit | 0bb0476a6cff7b5ad79c518bcb95c6ee170b0ac9 (patch) | |
tree | c327ff49f49200ddc184a4e1a2f1aee7144c4c87 /db-update | |
parent | 375f87c696cb7838c17922a83e956adbec8ef414 (diff) | |
parent | 1ce0c6368d0908e25f9bd1bb8183b5f29053fac8 (diff) |
Merge branch 'master' of git://projects.archlinux.org/dbscripts
Conflicts:
db-functions
Diffstat (limited to 'db-update')
-rwxr-xr-x | db-update | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |