Skip to content

Commit

Permalink
adjust to new sqlite3 dep management
Browse files Browse the repository at this point in the history
Sqlite switched from node-pre-gyp to prebuild + prebuild-install
Hence we need to adapt the postinstall script
  • Loading branch information
brunnre8 committed Jan 28, 2024
1 parent 22f6b83 commit 49dbe60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ install -dm 750 "$garbage_folder"
# in theory the devdir should be enough but let's future proof it
export npm_config_devdir="$garbage_folder"
export HOME="$garbage_folder"
./node_modules/.bin/node-pre-gyp clean
./node_modules/.bin/node-pre-gyp install --fallback-to-build
yarn run install # download or build the c dep
ret=$?
rm -rf "$garbage_folder"
popd || exit 1
Expand Down

0 comments on commit 49dbe60

Please sign in to comment.