From f5aecc1e34f8534ba168c3070986ad6703ad4d56 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 27 May 2009 15:26:56 -0400 Subject: check for conffile existance --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/postinst') diff --git a/debian/postinst b/debian/postinst index ca0b788..c87a713 100644 --- a/debian/postinst +++ b/debian/postinst @@ -73,7 +73,7 @@ configure) done fi - if [ "$2" = "" ]; then + if [ "$2" = "" ] && [ -e "/etc/etckeeper/etckeeper.conf" ]; then # Fresh install. . /etc/etckeeper/etckeeper.conf || true if [ -n "$VCS" ] && [ -x "`which $VCS 2>/dev/null`" ]; then -- cgit v1.2.3