mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-08-17 03:40:11 +02:00
15 lines
357 B
Bash
15 lines
357 B
Bash
|
#! /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
|