rewritemeta yaml: fixed boolen mapping for build flags

This commit is contained in:
Michael Pöhn 2017-05-19 13:47:05 +02:00
parent cfd3e84250
commit 19d422da86
5 changed files with 115 additions and 27 deletions

View file

@ -0,0 +1,14 @@
#! /bin/bash
if [ ! -d metadata ]; then
echo 'no metadata directory present'
exit 1
fi
fdroid rewritemeta --to yml
fdroid rewritemeta --to txt
echo '## stripping maven, kivy, disable buildflags if they are set to "no"'
sed -i '/^ maven=no$/d' metadata/*.txt
sed -i '/^ kivy=no$/d' metadata/*.txt
sed -i '/^ disable=no$/d' metadata/*.txt