I want to automate the installation of etckeeper on OpenSuse 12.3.
My first issue is that etckeeper doesn't seem to be available in the standard OpenSuse repos.
zypper search etckeeper
Loading repository data...
Reading installed packages...
No packages found.
The second issue I anticipate is that when I use etckeeper manually I sometimes have to configure it (init) before it starts working. Here's the info about that from the readme:
The
etckeeper init
command initialises an /etc/.git/ repository. If you installed etckeeper from a package, this was probably automatically performed during the package installation. If not, your first step is to run it by hand:
etckeeper init
I would like a script that will install it and have it init'd automatically with no end-user intervention required.
etckeeper init
not to be performed automatically is to give you a chance to select your favorite VCS first (should it callgit init
, orhg init
, orbzr init
, ordarcs init
?). – Gilles Jul 11 '13 at 13:45