##// END OF EJS Templates
check if readline is available before calling readline functions in ipy_defaults.py
check if readline is available before calling readline functions in ipy_defaults.py

File last commit:

r0:6f629fcc
r537:6e28a731
Show More
postinst
13 lines | 219 B | text/plain | TextLexer
#!/bin/sh
set -e
OLD_MODDIR=/usr/lib/python2.2/site-packages/IPython
if [ $1 = "configure" ]; then
if [ -d $OLD_MODDIR ];then
echo "Removing old python2.2 modules"
rm -fr $OLD_MODDIR >&2
fi
fi
#DEBHELPER#