From ad7202a18498d46420aefba9b0746ea187dd0472 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Nov 2007 23:58:12 -0500 Subject: stop symlink farming --- README | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'README') diff --git a/README b/README index 08fd16e..7a2268c 100644 --- a/README +++ b/README @@ -125,10 +125,9 @@ control, the sky's the limit.. ## configuration etckeeper uses `run-parts` to run the executable files in -`/etc/etckeeper/$command.d/`. By default these directories contain a bunch -of symlinks to the actual files; you can remove or reorder the symlinks, or -add your own custom files. Each individual file is short, simple, and does -only one action. +`/etc/etckeeper/$command.d/`. You can modify these files, or add your own +custom files. Each individual file is short, simple, and does only one +action. For example, here's how to configure it to run `git gc` after each apt run, which will save a lot of disk space: @@ -142,7 +141,7 @@ which will save a lot of disk space: Here's how to disable the automatic commits after each apt run, while still letting it git-add new files and git-rm removed ones: - rm /etc/etckeeper/post-apt.d/75git-commit + chmod -x /etc/etckeeper/post-apt.d/75git-commit Note that the etckeeper commands are careful to not hardcode anything about git. If you want to use some other revision control system, that's -- cgit v1.2.3