gitkraken: simplify nodegit change
This commit is contained in:
@@ -207,13 +207,9 @@ let
|
||||
|
||||
# SSL and permissions fix for bundled nodegit
|
||||
pushd $out/share/${pname}/resources/app.asar.unpacked/node_modules/@axosoft/nodegit/build/Release
|
||||
nodegitBinary=nodegit-ubuntu-20
|
||||
if [ -e nodegit-x64-ubuntu-20.node ]; then
|
||||
nodegitBinary=nodegit-x64-ubuntu-20
|
||||
fi
|
||||
mv $nodegitBinary.node $nodegitBinary-ssl-1.1.1.node
|
||||
mv $nodegitBinary-ssl-static.node $nodegitBinary.node
|
||||
chmod 755 $nodegitBinary.node
|
||||
mv nodegit-x64-ubuntu-20.node nodegit-x64-ubuntu-20-ssl-1.1.1.node
|
||||
mv nodegit-x64-ubuntu-20-ssl-static.node nodegit-x64-ubuntu-20.node
|
||||
chmod 755 nodegit-ubuntu-20.node
|
||||
popd
|
||||
|
||||
# Devendor bundled git
|
||||
|
||||
Reference in New Issue
Block a user