summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-05-27 15:26:56 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-05-27 15:26:56 -0400
commitf5aecc1e34f8534ba168c3070986ad6703ad4d56 (patch)
tree1eb4bf80509634e761e6adb6ec5d4ab1773eba90 /debian/postinst
parent0aa591164a24b34f4979f5b36df51a808ac8c3ca (diff)
check for conffile existance
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst2
1 files changed, 1 insertions, 1 deletions
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