# HG changeset patch # User Sylvain Thenault # Date 1229702992 -3600 # Node ID 89e11cc865b26360b7d776dc012e8d237807e260 # Parent 6ba006fb95d16e6470946d5633d85c32ec11894c fix debian package diff -r 6ba006fb95d1 -r 89e11cc865b2 debian/cubicweb-common.postinst --- a/debian/cubicweb-common.postinst Fri Dec 19 17:03:15 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -#! /bin/sh -e - -if [ "$1" = configure ]; then - # XXX bw compat: erudi -> cubicweb migration - if [ -e "/usr/share/erudi/templates/" ]; then - # skip the "shared" subdirectory by moving it first, restoring it later - mv /usr/share/erudi/templates/shared /usr/share/erudi/ - mv /usr/share/erudi/templates/* /usr/share/cubicweb/cubes/ - mv /usr/share/erudi/shared /usr/share/erudi/templates - echo 'moved /usr/share/erudi/templates/* to /usr/share/cubicweb/cubes/' - fi -fi -#DEBHELPER# - -exit 0 diff -r 6ba006fb95d1 -r 89e11cc865b2 debian/cubicweb-ctl.postinst --- a/debian/cubicweb-ctl.postinst Fri Dec 19 17:03:15 2008 +0100 +++ b/debian/cubicweb-ctl.postinst Fri Dec 19 17:09:52 2008 +0100 @@ -15,6 +15,8 @@ if [ -e "/etc/erudi.d/" ]; then mv /etc/erudi.d/* /etc/cubicweb.d/ echo 'moved /etc/erudi.d/* to /etc/cubicweb.d/' + sed -i s/ginco/cubicweb/g /etc/*/*.py + sed -i s/erudi/cubicweb/ */*.conf fi if [ -e "/var/log/erudi/" ]; then mv /var/log/erudi/* /var/log/cubicweb/