summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-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