Installation script for dev version
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Mon, 28 Jun 2010 00:41:26 +0000 (00:41 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Mon, 28 Jun 2010 00:41:26 +0000 (00:41 +0000)
deploy.sh [new file with mode: 0755]

diff --git a/deploy.sh b/deploy.sh
new file mode 100755 (executable)
index 0000000..0d132f4
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,20 @@
+#/bin/bash
+set -x
+pushd bin > /dev/null
+for pydir in `ls -d /usr/lib/python?.?`
+do
+       for fn in `find -type d | grep "^./[^.]*$" | cut -c 3-`
+       do
+               mkdir -p $pydir/ais/$fn
+       done
+       for fn in `find -name "*.py" | cut -c 3-`
+       do
+               ln -s `pwd`/$fn $pydir/ais/$fn
+       done
+done
+popd > /dev/null
+
+
+
+#mdb_to_postgres
+#find -type d -name '.*/[^.].*' -exec echo mdkir /usr/lib/python2.5/{} \;