debian/cubicweb-ctl.postinst
changeset 241 89e11cc865b2
parent 0 b97547f5f1fa
child 462 c6e313c7a2e0
equal deleted inserted replaced
240:6ba006fb95d1 241:89e11cc865b2
    13 if [ "$1" = configure ]; then
    13 if [ "$1" = configure ]; then
    14     # XXX bw compat: erudi -> cubicweb migration
    14     # XXX bw compat: erudi -> cubicweb migration
    15     if [ -e "/etc/erudi.d/" ]; then
    15     if [ -e "/etc/erudi.d/" ]; then
    16       mv /etc/erudi.d/* /etc/cubicweb.d/
    16       mv /etc/erudi.d/* /etc/cubicweb.d/
    17       echo 'moved /etc/erudi.d/* to /etc/cubicweb.d/'
    17       echo 'moved /etc/erudi.d/* to /etc/cubicweb.d/'
       
    18       sed -i s/ginco/cubicweb/g /etc/*/*.py
       
    19       sed -i s/erudi/cubicweb/ */*.conf
    18     fi
    20     fi
    19     if [ -e "/var/log/erudi/" ]; then
    21     if [ -e "/var/log/erudi/" ]; then
    20       mv /var/log/erudi/* /var/log/cubicweb/
    22       mv /var/log/erudi/* /var/log/cubicweb/
    21       echo 'moved /var/log/erudi/* to /var/log/cubicweb/'
    23       echo 'moved /var/log/erudi/* to /var/log/cubicweb/'
    22     fi
    24     fi