fdroid-repository/fdroid-update.sh

13 lines
213 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
2018-11-19 21:43:09 +01:00
if [ -z "$FILE" ] || [[ "$FILE" == *.apk ]] || [[ "$FILE" == *.yml ]]; then
2018-11-20 09:50:42 +01:00
fdroid update --clean --rename-apks --use-date-from-apk --delete-unknown
2018-11-10 11:34:16 +01:00
fi