update: add --rename-apks to force APK filenames to fdroid standard

uses the standard package.name_123.apk.  If that exists, it appends the
shasum.  If that exists, then its a duplicate, so its deleted. This should
help @SergeWinters with his 12,000 APKs.
This commit is contained in:
Hans-Christoph Steiner 2017-05-31 21:20:35 +02:00
parent 0f4cbc7224
commit 4053f03d77
4 changed files with 73 additions and 8 deletions

View file

@ -125,7 +125,7 @@ __complete_update() {
opts="-c -v -q -b -i -I -e -w"
lopts="--create-metadata --verbose --quiet --buildreport
--interactive --icons --editor --wiki --pretty --clean --delete-unknown
--nosign --use-date-from-apk"
--nosign --rename-apks --use-date-from-apk"
case "${prev}" in
-e|--editor)
_filedir