Skip to content

Commit

Permalink
postinstall: use bundled yarn
Browse files Browse the repository at this point in the history
We do not depend on yarn for the package, so yarn may not be in $PATH
However, we do ship a bundled version of yarn, so use that instead
  • Loading branch information
brunnre8 committed Mar 16, 2024
1 parent ec5433f commit 306dc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +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"
yarn run install # download or build the c dep
/usr/lib/thelounge/node_modules/yarn/bin/yarn run install # download or build the c dep
ret=$?
rm -rf "$garbage_folder"
popd || exit 1
Expand Down

0 comments on commit 306dc8f

Please sign in to comment.