mirror of
https://github.com/libretro/libretro-super
synced 2024-12-03 19:01:49 +00:00
(libretro-build-database.sh) Update
This commit is contained in:
parent
41af42bb0f
commit
b82ddd6130
@ -69,13 +69,13 @@ build_libretro_database() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#Check if meta magazine DAT is there
|
#Check if meta magazine DAT is there
|
||||||
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/magazines/edge/${1}.dat" ]; then
|
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/magazine/edge/${1}.dat" ]; then
|
||||||
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/magazines/edge/${1}.dat"'
|
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/magazine/edge/${1}.dat"'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Check if meta franchise DAT is there
|
#Check if meta franchise DAT is there
|
||||||
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/franchises/${1}.dat" ]; then
|
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/franchise/${1}.dat" ]; then
|
||||||
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/franchises/${1}.dat"'
|
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/franchise/${1}.dat"'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Check if meta ESRB DAT is there
|
#Check if meta ESRB DAT is there
|
||||||
@ -88,6 +88,21 @@ build_libretro_database() {
|
|||||||
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/publisher/${1}.dat"'
|
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/publisher/${1}.dat"'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#Check if meta releasemonth DAT is there
|
||||||
|
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/releasemonth/${1}.dat" ]; then
|
||||||
|
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/releasemonth/${1}.dat"'
|
||||||
|
fi
|
||||||
|
|
||||||
|
#Check if meta releaseyear DAT is there
|
||||||
|
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/releaseyear/${1}.dat" ]; then
|
||||||
|
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/releaseyear/${1}.dat"'
|
||||||
|
fi
|
||||||
|
|
||||||
|
#Check if meta origin DAT is there
|
||||||
|
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/origin/${1}.dat" ]; then
|
||||||
|
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/origin/${1}.dat"'
|
||||||
|
fi
|
||||||
|
|
||||||
eval ${COMMAND}
|
eval ${COMMAND}
|
||||||
if [ -f ${DBFILE} ]; then
|
if [ -f ${DBFILE} ]; then
|
||||||
mv ${DBFILE} "${RDB_DIR}/${1}.rdb"
|
mv ${DBFILE} "${RDB_DIR}/${1}.rdb"
|
||||||
|
Loading…
Reference in New Issue
Block a user