index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Thomas Bächler <thomas@archlinux.org> | 2007-10-01 23:02:55 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-10-01 23:02:55 -0500 |
commit | da6795515be9b2bcb209cf52a38ec7e025f04b95 (patch) | |
tree | 4186bcfb553b4560e44878aac81e98ba082abb06 | |
parent | 05d0bb6fcc284c302320272a7901084fea087b15 (diff) |
-rwxr-xr-x | extrapkg | 6 |
@@ -46,6 +46,12 @@ fi if [ "$repo" != "community" ]; then scp $pkgfile archlinux.org:staging/$repo/add + if [ "$(md5sum $pkgfile | cut -d' ' -f1)" != "$(ssh archlinux.org md5sum staging/${repo}/add/$pkgfile | cut -d' ' -f1)" ]; then + echo "File got corrupted during upload, cancelled." + exit 1 + else + echo "File integrity okay." + fi else if [ ! -f ~/.tupkg ]; then echo "Must configure tupkg via ~/.tupkg, cancelled" |