debian/cubicweb-common.postinst
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 12 Nov 2008 16:07:40 +0100
changeset 28 9b7067bfaa15
parent 0 b97547f5f1fa
child 233 cd2f4ef6af37
permissions -rw-r--r--
introduce html_headers.on_load() method as a shortcut for add_post_inline_script('''jQuery(document).ready(...''')

#! /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