summaryrefslogtreecommitdiffabout
path: root/debian/dudki.postinst
authorMichael Krelin <hacker@klever.net>2011-10-10 21:21:36 (UTC)
committer Michael Krelin <hacker@klever.net>2011-10-12 19:58:30 (UTC)
commite402d5619a9dd86e0f51fa39418f4db490ef1037 (patch) (side-by-side diff)
tree69b9176d76d71b5f147c8a93830e1b6d66f3daa1 /debian/dudki.postinst
parent970337c91c02afa9b8d33ab5596270594ffe58e6 (diff)
downloaddudki-e402d5619a9dd86e0f51fa39418f4db490ef1037.zip
dudki-e402d5619a9dd86e0f51fa39418f4db490ef1037.tar.gz
dudki-e402d5619a9dd86e0f51fa39418f4db490ef1037.tar.bz2
debianizationHEADmaster
Ubuntization to be precise. Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'debian/dudki.postinst') (more/less context) (ignore whitespace changes)
-rw-r--r--debian/dudki.postinst17
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 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "configure" ]; then
+
+ if which ucf >/dev/null; then
+ ucf /usr/share/doc/dudki/dudki.conf /etc/dudki.conf
+ fi
+
+ if which ucfr >/dev/null; then
+ ucfr dudki /etc/dudki.conf
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0