Skip to content

Commit

Permalink
fix: empty metadatas detection
Browse files Browse the repository at this point in the history
  • Loading branch information
jeantichoc committed Jun 19, 2022
1 parent d30e25e commit c989d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PegasArch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fi

check_table || exit 42

if [[ -z $(ls -l "$pegasarch_path/metadatas/*/metadata.pegasus.txt" 2>/dev/null) ]] ; then
if [[ -z $(ls "$pegasarch_path"/metadatas/*/metadata.pegasus.txt 2>/dev/null) ]] ; then
echo.blue "No metadatas yet, let's refresh"
install_libretro_cores || exit 1
pegasarch_cloud "$@" || exit 2
Expand Down

0 comments on commit c989d26

Please sign in to comment.