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 function relink_config() { 4 if [ -d "/usr/share/kolab-freebusy/config" ]; then 5 if [ -L "/usr/share/kolab-freebusy/config" ]; then 6 rm -rf /usr/share/kolab-freebusy/config 7 mkdir /usr/share/kolab-freebusy/config 8 cd /usr/share/kolab-freebusy/config 9 ln -sf /etc/kolab-freebusy/config.ini config.ini 10 fi 11 fi 12 } 13 14 case "$1" in 15 install|upgrade) 16 relink_config 17 ;; 18 esac