Commit bb980f84 authored by Natanael Copa's avatar Natanael Copa
Browse files

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

This solves issues for rsync jobs for mirrors.
parent 5ed17c4b
...@@ -99,6 +99,8 @@ build() { ...@@ -99,6 +99,8 @@ build() {
tmpindex=$(mktemp).tar.gz tmpindex=$(mktemp).tar.gz
apk index $oldindex -o $tmpindex *.apk apk index $oldindex -o $tmpindex *.apk
abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz
chmod 644 APKINDEX.tar.gz
rm -f tmp.*
} }
while getopts "a:d:hl:pr:" opt; do while getopts "a:d:hl:pr:" opt; do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment