debian/cubicweb-common.postinst
author Laure Bourgois <Laure.Bourgois@logilab.fr>
Mon, 01 Dec 2008 14:51:12 +0100
changeset 159 ff7b0f8dcb3c
parent 0 b97547f5f1fa
child 233 cd2f4ef6af37
permissions -rw-r--r--
safe_cut fonction return a resum from html text. safe_cut uses fonction text_cut_letters which cut text given a number of letters.

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