Skip to content

Commit

Permalink
rewrite sqlite path lookup
Browse files Browse the repository at this point in the history
This test is still horribly brittle, but it should work for now
  • Loading branch information
brunnre8 committed Feb 19, 2024
1 parent 070b3a6 commit ec5433f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fi

# sqlite should be installed correctly at runtime
# the glob is the name of the api/os/arch triplet, say napi-v3-linux-arm
if ls /usr/lib/thelounge/node_modules/sqlite3/lib/binding/**/node_sqlite3.node >/dev/null 2>&1 ; then
if ls /usr/lib/thelounge/node_modules/sqlite3/build/Release/node_sqlite3.node >/dev/null 2>&1 ; then
echo -e " \\x1B[32m✓\\x1B[0m \\x1B[90msqlite was installed correctly at runtime\\x1B[0m"
else
echo -e " \\x1B[31m✗ sqlite was not installed at runtime\\x1B[0m"
Expand Down

0 comments on commit ec5433f

Please sign in to comment.