Code

Add type attribute to CopyPasteVars (#5601)
[gosa.git] / trunk / gosa-si / debian / gosa-si-server.postinst
1 #!/bin/sh -e
3 #DEBHELPER#
5 # We exit unless the package is being configured
6 case "$1" in
7         abort*upgrade)         exit 0;;
8         abort*remove)          exit 0;;
9         abort*deconfigure)     exit 0;;
10         configure) ;;
11         *)                     exit 0;
12 esac
14 # Fix permission
15 [ -f /etc/gosa-si/server.conf ] && chmod go-rwx /etc/gosa-si/server.conf
17 # Restart daemon
18 invoke-rc.d gosa-si restart
20 exit 0