mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 17:31:07 +03:00
rewritemeta yaml: fixed boolen mapping for build flags
This commit is contained in:
parent
cfd3e84250
commit
19d422da86
5 changed files with 115 additions and 27 deletions
14
tests/extra/convert_metadata_to_yaml_then_txt.sh
Executable file
14
tests/extra/convert_metadata_to_yaml_then_txt.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue