diff -r 000000000000 -r b97547f5f1fa debian/cubicweb-common.postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/cubicweb-common.postinst Wed Nov 05 15:52:50 2008 +0100 @@ -0,0 +1,12 @@ +#! /bin/sh -e + +if [ "$1" = configure ]; then + # XXX bw compat: erudi -> cubicweb migration + if [ -e "/usr/share/erudi/templates/" ]; then + mv /usr/share/erudi/templates/* /usr/share/cubicweb/cubes/ + echo 'moved /usr/share/erudi/templates/* to /usr/share/cubicweb/cubes/' + fi +fi +#DEBHELPER# + +exit 0