Merge branch 'upstream'
[rahunas] / debian / rahunas.postinst
1 #!/bin/sh
2
3 set -e
4
5 #
6 # Skip, if we are not in "configure" state
7 #
8 if [ "$1" != "configure" ]; then
9   exit 0
10 fi
11
12 test -d /var/log/rahunas || mkdir /var/log/rahunas
13 test -f /etc/rahunas/rahunas.conf || \
14   cp /usr/share/doc/rahunas/rahunas.conf.example /etc/rahunas/rahunas.conf 
15
16 #DEBHELPER#
17 exit 0