2015-09-12 01:16:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Verify that rewritemeta has been run.
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2015-09-25 05:55:26 +00:00
|
|
|
files=$(fdroid rewritemeta -l)
|
2015-09-12 01:16:14 +00:00
|
|
|
|
2015-09-25 05:55:26 +00:00
|
|
|
if [[ -n "$files" ]]; then
|
|
|
|
echo "Run fdroid rewritemeta to fix formatting on these files:"
|
|
|
|
echo "$files"
|
|
|
|
exit 1
|
2015-09-12 01:16:14 +00:00
|
|
|
fi
|
|
|
|
|
2015-09-25 05:55:26 +00:00
|
|
|
exit 0
|