summaryrefslogtreecommitdiff
path: root/installer/macpostinstall
diff options
context:
space:
mode:
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