summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/install.sh b/install.sh
index aa46d5c1..7ddbdc0a 100755
--- a/install.sh
+++ b/install.sh
@@ -16,14 +16,14 @@ destdir=$(readlink -f ${1})
cd $(dirname ${0})
./setup.py install --root=${destdir} ${DEB_PYTHON_INSTALL_ARGS_ALL}
-mkdir -p ${destdir}/usr/lib/pyshared
-for x in ${destdir}/usr/lib/python2.6/dist-packages/*; do
- [ -d "$x" ] || continue
- [ ! -d "${destdir}/usr/lib/pyshared/${x##*/}" ] ||
- rm -Rf "${destdir}/usr/lib/pyshared/${x##*/}"
- mv $x ${destdir}/usr/lib/pyshared
-done
-rm -Rf ${destdir}/usr/lib/python2.6
+#mkdir -p ${destdir}/usr/share/pyshared
+#for x in ${destdir}/usr/lib/python2.6/dist-packages/*; do
+# [ -d "$x" ] || continue
+# [ ! -d "${destdir}/usr/share/pyshared/${x##*/}" ] ||
+# rm -Rf "${destdir}/usr/share/pyshared/${x##*/}"
+# mv $x ${destdir}/usr/share/pyshared
+#done
+#rm -Rf ${destdir}/usr/lib/python2.6
for x in "${destdir}/usr/bin/"*.py; do
[ -f "${x}" ] && mv "${x}" "${x%.py}"