2014-09-10 | Paul Boddie | raw annotate files changeset graph | Packaging for chwala 0.2-0~kolab9 from upstream. |
1 #!/bin/sh 2 3 set -e 4 5 case "$1" in 6 upgrade|install) 7 # old version had problems with the apache conf created as directoy instead of file 8 if [ -e "/etc/apache2/sites-available/chwala/chwala.conf" ]; then 9 DIR=$(mktemp -d) 10 mv /etc/apache2/sites-available/chwala/* $DIR/ 11 rmdir /etc/apache2/sites-available/chwala/ 12 mv $DIR/chwala.conf /etc/apache2/sites-available/chwala 13 rmdir $DIR 14 fi 15 ;; 16 esac 17 18 exit 0