summaryrefslogtreecommitdiff
path: root/pre-install.d
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-04 18:03:13 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-04 18:03:13 -0500
commit2e7110a31815c500ff6de321d5c83c3c5529de53 (patch)
tree45ef1c83ff26412d0627ee9f6a0aace4151c4dfd /pre-install.d
parent788ae5a34c0fad2e3c0788a745400a138d735195 (diff)
updates for mercurial
Changed the templates file to not hardcode 'git', and manually unfuzzied all translations except for Vietnamese, which stumped me. A few translations _may_ read incorrectly when VCS=hg, most should be ok. Updated git-specific documentation, but left the tutorial git-specific. Rename more conffiles. Joy oh, joy. Update dependencies. Add some more documentation about etckeeper.conf.
Diffstat (limited to 'pre-install.d')
-rwxr-xr-xpre-install.d/50uncommitted-changes2
1 files changed, 2 insertions, 0 deletions
diff --git a/pre-install.d/50uncommitted-changes b/pre-install.d/50uncommitted-changes
index 30a6fd7..3bfc037 100755
--- a/pre-install.d/50uncommitted-changes
+++ b/pre-install.d/50uncommitted-changes
@@ -37,6 +37,7 @@ if unclean; then
db_title etckeeper
db_reset etckeeper/unclean || true
+ db_subst etckeeper/unclean VCS "$VCS"
db_subst etckeeper/unclean STATUS $(status | debconf-escape -e) || true
db_input critical etckeeper/unclean || true
db_go || true
@@ -45,6 +46,7 @@ if unclean; then
if [ "$RET" = true ]; then
if ! commit "saving uncommitted changes in /etc prior to $HIGHLEVEL_PACKAGE_MANAGER run"; then
if [ -e /usr/share/debconf/confmodule ]; then
+ db_subst etckeeper/commit_failed VCS "$VCS"
db_input critical etckeeper/commit_failed || true
db_go || true
db_reset etckeeper/commit_failed || true