summaryrefslogtreecommitdiffstats
path: root/mga-move-update
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-06-22 23:36:39 +0000
committerNicolas Vigier <boklm@mageia.org>2011-06-22 23:36:39 +0000
commitf532a717bedc0282204b3dd48871e810bb0cb79f (patch)
tree9837517169fd3e7e52da51c116b5e86b2b77c644 /mga-move-update
parent7d2f6f7a78a542f7a2e019086c19c64c9602a015 (diff)
downloadmgatools-f532a717bedc0282204b3dd48871e810bb0cb79f.tar
mgatools-f532a717bedc0282204b3dd48871e810bb0cb79f.tar.gz
mgatools-f532a717bedc0282204b3dd48871e810bb0cb79f.tar.bz2
mgatools-f532a717bedc0282204b3dd48871e810bb0cb79f.tar.xz
mgatools-f532a717bedc0282204b3dd48871e810bb0cb79f.zip
also move src.rpm, and update SRPMS hdlists
Diffstat (limited to 'mga-move-update')
-rw-r--r--mga-move-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/mga-move-update b/mga-move-update
index 2916b09..353b1c3 100644
--- a/mga-move-update
+++ b/mga-move-update
@@ -66,6 +66,8 @@ function post()
update_hdlist "$distribdir/$distrorelease/$arch/media/debug/$section/updates_testing"
update_hdlist "$distribdir/$distrorelease/$arch/media/debug/$section/updates"
done
+ update_hdlist "$distribdir/$distrorelease/SRPMS/$section/updates_testing"
+ update_hdlist "$distribdir/$distrorelease/SRPMS/$section/updates"
update_common_MD5SUM $distrorelease
mirror_repository $distrorelease
}
@@ -76,6 +78,7 @@ do
movepkg "$distribdir/$distrorelease/$arch/media/$section/updates_testing" "$distribdir/$distrorelease/$arch/media/$section/updates/" "$srcpkg" "$mailcontent"
movepkg "$distribdir/$distrorelease/$arch/media/debug/$section/updates_testing" "$distribdir/$distrorelease/$arch/media/debug/$section/updates/" "$srcpkg" "$mailcontent"
done
+$dryrun mv -v -f "$distribdir/$distrorelease/SRPMS/$section/updates_testing/$srcpkg" "$distribdir/$distrorelease/SRPMS/$section/updates/" >> "$output"
if [ -n "$dryrun" ]
then