summaryrefslogtreecommitdiffstats
path: root/virtualenv
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2013-12-18 13:46:02 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2013-12-18 13:46:02 (GMT)
commitfec3cb44f2ca30a503da5afad147efeeb2a93498 (patch)
tree6dbf081bdc0907d8b54734e463481aa3d856706b /virtualenv
parent49e7e7e9fa46f4ee620db1394ba3d7f700e94842 (diff)
downloadunivnautes-old-fec3cb44f2ca30a503da5afad147efeeb2a93498.zip
univnautes-old-fec3cb44f2ca30a503da5afad147efeeb2a93498.tar.gz
univnautes-old-fec3cb44f2ca30a503da5afad147efeeb2a93498.tar.bz2
correctly erase python binaries
Diffstat (limited to 'virtualenv')
-rwxr-xr-xvirtualenv/bin/postinst5
1 files changed, 3 insertions, 2 deletions
diff --git a/virtualenv/bin/postinst b/virtualenv/bin/postinst
index 7283803..7f9db13 100755
--- a/virtualenv/bin/postinst
+++ b/virtualenv/bin/postinst
@@ -40,8 +40,9 @@ ln -sfv ../../univnautes/pkg/priv/* .
# copy python binaries in the virtualenv
echo ">>> Copy python binaries in /usr/local/univnautes/bin (virtualenv)"
cd /usr/local/univnautes/bin
-rm -f python*
-cp -av /usr/local/bin/python* .
+rm -f python python2.7
+cp -av /usr/local/bin/python2.7 .
+ln python2.7 python
# patch captiveportal & others
echo ">>> apply UnivNautes patches"