mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Allow usage of fd-commit inside the main fdroiddata directories
This commit is contained in:
parent
cb282217d6
commit
20f03dede5
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,10 @@
|
||||||
|
|
||||||
commands=()
|
commands=()
|
||||||
|
|
||||||
|
if [ ! -d metadata ]; then
|
||||||
|
[ -d ../metadata ] && cd .. || { echo "No metadata files found!"; exit 2; }
|
||||||
|
fi
|
||||||
|
|
||||||
while read line; do
|
while read line; do
|
||||||
if [[ "$line" == *M*metadata/*.txt ]]; then
|
if [[ "$line" == *M*metadata/*.txt ]]; then
|
||||||
file=${line##* }
|
file=${line##* }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue