summaryrefslogtreecommitdiff
path: root/installer/macpostinstall
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2011-01-07 15:26:40 +0100
committerMichal Čihař <michal@cihar.com>2011-01-07 15:26:40 +0100
commit35925197481d458417cadb3ec06a05278a4799e4 (patch)
tree94226d629f4a8f18b4f06bfb6000a9c880b6ff99 /installer/macpostinstall
parent2114cf03831e54c9777c31eb3ad19257b9fa128c (diff)
Imported Upstream version 1.28.95
Diffstat (limited to 'installer/macpostinstall')
-rwxr-xr-xinstaller/macpostinstall7
1 files changed, 7 insertions, 0 deletions
diff --git a/installer/macpostinstall b/installer/macpostinstall
new file mode 100755
index 0000000..2fd304e
--- /dev/null
+++ b/installer/macpostinstall
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+pref=`python-config --prefix`
+pyver=`python -c "import sys; print('.'.join([str(x) for x in sys.version_info[:2]]))"`
+# Fixed because I compile with python 2.6
+pyver=2.6
+ln -s /usr/lib/python$pyver/site-packages/gammu /Library/Python/$pyver/site-packages