diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 17:09:08 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 17:09:08 -0500 |
commit | 27eda35e0b9758e1611ca7c4c0eb625f2246dd68 (patch) | |
tree | 17bbafd279b008db9c6e299cd2118c4a3ae5a118 /etckeeper | |
parent | b0160eb5daf39f3258eb06e677bcc433c7425ca0 (diff) |
rationalise the cd /etc handling
Diffstat (limited to 'etckeeper')
-rwxr-xr-x | etckeeper | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,4 +17,8 @@ if [ ! -d "/etc/etckeeper/$command.d" ]; then exit 1 fi +if [ "$command" = post-apt ] || [ "$command" = pre-apt ]; then + `cd /etc +fi + run-parts "/etc/etckeeper/$command.d" |