Skip to content

Commit

Permalink
minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmiller committed Apr 13, 2024
1 parent f145468 commit e75145c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/engine/tools/tsSyncLocalParseMultithreaded.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function toDatabase(){

existCheck=$(SQL "SELECT id FROM tsmods WHERE versionuuid='$ts_versionUUID';")

if [ -z $existCheck ]; then
if [ -z "$existCheck" ]; then
echo "`date` [thunderstore] $ts_name ($ts_versionUUID : $ts_version) does not exist in the database, adding..."
SQL "INSERT INTO tsmods (owner,name,url,created,updated,moduuid,versionuuid,version,deps,version_date_created) VALUES ('$ts_owner','$ts_name','$ts_package_url','$ts_date_created','$ts_date_updated','$ts_uuid4','$ts_versionUUID','$ts_version','$ts_deps','$ts_version_date_created');"
else
Expand Down

0 comments on commit e75145c

Please sign in to comment.