Commit aa39a8a1 authored by Aaron Griffin's avatar Aaron Griffin
Browse files

Remove the 'add' dir from staging



This extra dir is largely useless. db-remove makes the del/
dir unnecessary, so lets kill the add/ dir too

Signed-off-by: default avatarAaron Griffin <aaronmgriffin@gmail.com>
parent d40455ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ fi

if [ "$repo" != "community" ]; then
    # combine what we know into a variable
    uploadto="staging/${repo}/add/$(basename ${pkgfile})"
    uploadto="staging/${repo}/$(basename ${pkgfile})"
    scp ${scpopts} "${pkgfile}" "archlinux.org:${uploadto}"
    if [ "$(md5sum "${pkgfile}" | cut -d' ' -f1)" != "$(ssh archlinux.org md5sum "${uploadto}" | cut -d' ' -f1)" ]; then
        echo "File got corrupted during upload, cancelled."