forked from FOSS/BangleApps
Merge pull request #1981 from halemmerich/apploader
apploader - Ignore empty folder instead of creating invalid jsonmaster
commit
fd3cce236c
|
@ -23,7 +23,7 @@ echo "[" > "$outfile"
|
|||
first=1
|
||||
for app in apps/*/; do
|
||||
echo "Processing $app...";
|
||||
if [[ "$app" =~ ^apps/_example.* ]]; then
|
||||
if [[ "$app" =~ ^apps/_example.* ]] || [ ! -e "$app/"metadata.json ]; then
|
||||
echo "Ignoring $app"
|
||||
else
|
||||
if [ $first -eq 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue