fdroid-repository/fdroid-update.sh

13 lines
179 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
fdroid update -c --rename-apks --clean
2018-11-10 11:34:16 +01:00
fi