From: Frank Brehm Date: Mon, 16 Jan 2012 06:53:03 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=714075de86d61ac11d16495a970c184685d936df;p=config%2Fbruni%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/.etckeeper b/.etckeeper index 9fa58407..be1b2609 100755 --- a/.etckeeper +++ b/.etckeeper @@ -206,6 +206,7 @@ maybe chmod 0644 './env.d/python/config' maybe chmod 0644 './environment' maybe chmod 0644 './etc-update.conf' maybe chmod 0755 './etckeeper' +maybe chmod 0644 './etckeeper/._cfg0000_etckeeper.conf' maybe chmod 0755 './etckeeper/commit.d' maybe chmod 0755 './etckeeper/commit.d/10vcs-test' maybe chmod 0755 './etckeeper/commit.d/30bzr-add' diff --git a/etckeeper/._cfg0000_etckeeper.conf b/etckeeper/._cfg0000_etckeeper.conf new file mode 100644 index 00000000..24c180ce --- /dev/null +++ b/etckeeper/._cfg0000_etckeeper.conf @@ -0,0 +1,42 @@ +# The VCS to use. +#VCS="hg" +VCS="git" +#VCS="bzr" +#VCS="darcs" + +# Options passed to git commit when run by etckeeper. +GIT_COMMIT_OPTIONS="" + +# Options passed to hg commit when run by etckeeper. +HG_COMMIT_OPTIONS="" + +# Options passed to bzr commit when run by etckeeper. +BZR_COMMIT_OPTIONS="" + +# Options passed to darcs record when run by etckeeper. +DARCS_COMMIT_OPTIONS="-a" + +# Uncomment to avoid etckeeper committing existing changes +# to /etc automatically once per day. +#AVOID_DAILY_AUTOCOMMITS=1 + +# Uncomment the following to avoid special file warning +# (the option is enabled automatically by cronjob regardless). +#AVOID_SPECIAL_FILE_WARNING=1 + +# Uncomment to avoid etckeeper committing existing changes to +# /etc before installation. It will cancel the installation, +# so you can commit the changes by hand. +#AVOID_COMMIT_BEFORE_INSTALL=1 + +# The high-level package manager that's being used. +# (apt, pacman-g2, yum etc) +# For gentoo this is emerge +#HIGHLEVEL_PACKAGE_MANAGER=apt +HIGHLEVEL_PACKAGE_MANAGER=emerge + +# The low-level package manager that's being used. +# (dpkg, rpm, pacman-g2, etc) +# For gentoo this is portage +#LOWLEVEL_PACKAGE_MANAGER=dpkg +LOWLEVEL_PACKAGE_MANAGER=portage