##// END OF EJS Templates
Make user_setup a top-level function in iplib and add better tests....
Make user_setup a top-level function in iplib and add better tests. This function has grown way too big and it needs a refactoring, but at least now it's a standalone thing (it didn't need to be a method) and can be called in a non-interactive fashion.

File last commit:

r0:6f629fcc
r1908:e550c146
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#