-rw-r--r-- | debian/dudki.postinst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/dudki.postinst b/debian/dudki.postinst new file mode 100644 index 0000000..49dc83c --- a/dev/null +++ b/debian/dudki.postinst | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/sh | ||
2 | set -e | ||
3 | |||
4 | if [ "$1" = "configure" ]; then | ||
5 | |||
6 | if which ucf >/dev/null; then | ||
7 | ucf /usr/share/doc/dudki/dudki.conf /etc/dudki.conf | ||
8 | fi | ||
9 | |||
10 | if which ucfr >/dev/null; then | ||
11 | ucfr dudki /etc/dudki.conf | ||
12 | fi | ||
13 | fi | ||
14 | |||
15 | #DEBHELPER# | ||
16 | |||
17 | exit 0 | ||