diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-02-27 20:51:55 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-02-27 20:51:55 +0100 |
commit | 464f9fc1e0e23721f427be8a33c21a03f27e3f88 (patch) | |
tree | 7ca76098905a1d2dd719990e1d2d239e1bc7c204 /test/eric/eric.install | |
parent | 3d09645352459f46b52cd13dbbba4d52c8f410fa (diff) | |
download | nutyx-pakxe-464f9fc1e0e23721f427be8a33c21a03f27e3f88.tar.gz nutyx-pakxe-464f9fc1e0e23721f427be8a33c21a03f27e3f88.tar.bz2 nutyx-pakxe-464f9fc1e0e23721f427be8a33c21a03f27e3f88.tar.xz nutyx-pakxe-464f9fc1e0e23721f427be8a33c21a03f27e3f88.zip |
eric dans test
Diffstat (limited to 'test/eric/eric.install')
-rw-r--r-- | test/eric/eric.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/eric/eric.install b/test/eric/eric.install new file mode 100644 index 000000000..8316448e9 --- /dev/null +++ b/test/eric/eric.install @@ -0,0 +1,17 @@ +post_upgrade() { + post_remove $1 +} + +post_remove() { + if test -e usr/lib/python2.6/site-packages/sitecustomize.py + then + sed -i -e '/import sys/d' \ + usr/lib/python2.6/site-packages/sitecustomize.py + sed -i -e '/sys.setappdefaultencoding = sys.setdefaultencoding/d' \ + usr/lib/python2.6/site-packages/sitecustomize.py + if test ! -s usr/lib/python2.6/site-packages/sitecustomize.py + then + rm usr/lib/python2.6/site-packages/sitecustomize.py + fi + fi +} |