Thomas Koch wrote:
> I did su and then aptitude.

Forgot that people still use su..

> As an addition to etckeeper I think one could add:
> 
> if $(git rev-parse --show-toplevel) != "/etc"   exit 42
> 
> and
> 
> if $(readlink -f $(git rev-parse --git-dir)) != "/etc/.git" exit 43

I don't know if some people may use etckeeper with the git directory
located elsewhere.

Such a test would be ok, I think, if it checked if the git directory was
not owned by root and refused to continue.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to