Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 3 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"rebuild": "node generate && node-gyp configure build",
"recompileDebug": "node-gyp configure --debug build",
"rebuildDebug": "node generate && node-gyp configure --debug build",
"xcodeDebug": "node-gyp configure -- -f xcode"
"xcodeDebug": "node-gyp configure -- -f xcode",
"postinstall": "bash postinstall.sh"
}
}
12 changes: 12 additions & 0 deletions 12 postinstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

if [ -n "$(node lib/nodegit.js 2>&1 | grep libstdc++)" ]; then
echo "[ERROR] Seems like the latest libstdc++ is missing on your system!"
echo ""
echo "On Ubuntu you can install it using:"
echo ""
echo "$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test"
echo "$ sudo apt-get update"
echo "$ sudo apt-get install libstdc++-4.9-dev"
exit 1
fi
Morty Proxy This is a proxified and sanitized view of the page, visit original site.