2014-09-10 | Paul Boddie | raw annotate files changeset graph | Packaging for kolab-freebusy 1.0.5-0~kolab2 from upstream. |
1 #!/bin/bash 2 3 reload_apache() 4 { 5 if apache2ctl configtest 2>/dev/null; then 6 invoke-rc.d apache2 $1 || true 7 else 8 echo "Your apache2 configuration is broken, so we're not restarting it for you." 9 fi 10 } 11 12 13 case "$1" in 14 remove) 15 if [ -e "/etc/apache2/sites-enabled/kolab-freebusy" ]; then 16 a2ensite kolab-freebusy 17 fi 18 reload_apache reload 19 ;; 20 esac