fdroid-repository/fdroid-update.sh

14 lines
233 B
Bash
Raw Normal View History

2018-11-09 09:29:18 +01:00
#!/bin/bash
2018-11-10 11:34:16 +01:00
set -eo pipefail
EVENT=$1
DIR=$2
FILE=$3
if [ -z "$FILE" ] || [[ "$FILE" == *.apk ]]; then
fdroid update -c --rename-apks --clean --use-date-from-apk
fdroid update --rename-apks --clean --use-date-from-apk
fi