diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-28 08:44:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-28 08:44:32 +0000 |
commit | bb980f849518fabfbdc44eaffeade0e36b8e0742 (patch) | |
tree | 7294e58042520388e6db1e39e7db69e50d30bd49 /buildrepo.in | |
parent | 5ed17c4b875afda863162928afb4612868ac87a5 (diff) | |
download | abuild-bb980f849518fabfbdc44eaffeade0e36b8e0742.tar.gz abuild-bb980f849518fabfbdc44eaffeade0e36b8e0742.tar.bz2 abuild-bb980f849518fabfbdc44eaffeade0e36b8e0742.tar.xz abuild-bb980f849518fabfbdc44eaffeade0e36b8e0742.zip |
buildrepo: set permissions on APKINDEX.tar.gz - clean up old tmp.*
This solves issues for rsync jobs for mirrors.
Diffstat (limited to 'buildrepo.in')
-rwxr-xr-x | buildrepo.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildrepo.in b/buildrepo.in index 7c24b86..5aa3e43 100755 --- a/buildrepo.in +++ b/buildrepo.in @@ -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 |