From e402d5619a9dd86e0f51fa39418f4db490ef1037 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 10 Oct 2011 21:21:36 +0000 Subject: debianization Ubuntization to be precise. Signed-off-by: Michael Krelin --- (limited to 'debian/dudki.postinst') 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 -- cgit v0.9.0.2