buildrepo: set permissions on APKINDEX.tar.gz - clean up old tmp.*

This solves issues for rsync jobs for mirrors.
This commit is contained in:
Natanael Copa 2009-07-28 08:44:32 +00:00
parent 5ed17c4b87
commit bb980f8495

View File

@ -99,6 +99,8 @@ build() {
tmpindex=$(mktemp).tar.gz
apk index $oldindex -o $tmpindex *.apk
abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz
chmod 644 APKINDEX.tar.gz
rm -f tmp.*
}
while getopts "a:d:hl:pr:" opt; do