diff options
author | sibel <lesibel@free.fr> | 2009-11-24 11:06:31 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2009-11-24 11:06:31 +0100 |
commit | 65ee1c51a2bfb73fdd60db617f9b23a9e14c7180 (patch) | |
tree | cd0c846aca14cb341d5d9ec73a1fb846255e70ed /extra/eric/eric.install | |
parent | ec33f3ced5473ef2421722568c098ddbb711dcd1 (diff) | |
download | nutyx-pakxe-65ee1c51a2bfb73fdd60db617f9b23a9e14c7180.tar.gz nutyx-pakxe-65ee1c51a2bfb73fdd60db617f9b23a9e14c7180.tar.bz2 nutyx-pakxe-65ee1c51a2bfb73fdd60db617f9b23a9e14c7180.tar.xz nutyx-pakxe-65ee1c51a2bfb73fdd60db617f9b23a9e14c7180.zip |
Ajout de eric4#4.3.9-1
Diffstat (limited to 'extra/eric/eric.install')
-rw-r--r-- | extra/eric/eric.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/eric/eric.install b/extra/eric/eric.install new file mode 100644 index 000000000..8316448e9 --- /dev/null +++ b/extra/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 +} |