From f117c7aac438c4d3219abee57112cdef04258433 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 31 Jan 2017 22:41:25 -0500 Subject: The move from $workdir/etc to $workdir/chroot/etc confused old installs. 1. It left the old directory around. 2. etc.git has a post-install hook that has the directory hard-coded. --- Makefile | 2 +- drain | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0c48056..69e25fb 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # as published by Sam Hocevar. See the COPYING file for more details. PACKAGE = pristine-etc-keeper -VERSION = 20170128 +VERSION = 20170131 topsrcdir = . topoutdir = . diff --git a/drain b/drain index c201727..71afb43 100755 --- a/drain +++ b/drain @@ -43,6 +43,7 @@ commit() ( (cd chroot/etc && etckeeper init -d "$PWD") mv chroot/etc/.git etc.git fi + rm -rf etc; ln -sfT chroot/etc etc # for compatibility with old installs rm -rf chroot mkdir chroot cd chroot -- cgit v1.2.3