summaryrefslogtreecommitdiff
path: root/pre-install.d
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-23 16:59:17 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-23 16:59:17 -0400
commit3262d47732044603b7b2e391a56c0874768c0fa0 (patch)
treec6e33d6868a8c753dd7d1a3462768406affbcd29 /pre-install.d
parent8fbde8f8929f9c8476bdc1baca36d43a4f3ab510 (diff)
make message clearer
Diffstat (limited to 'pre-install.d')
-rwxr-xr-xpre-install.d/50uncommitted-changes5
1 files changed, 4 insertions, 1 deletions
diff --git a/pre-install.d/50uncommitted-changes b/pre-install.d/50uncommitted-changes
index 0d82419..a5e69d4 100755
--- a/pre-install.d/50uncommitted-changes
+++ b/pre-install.d/50uncommitted-changes
@@ -11,7 +11,10 @@ fi
if etckeeper unclean; then
if [ "$AVOID_COMMIT_BEFORE_INSTALL" ]; then
- echo "error: etckeeper detected uncommitted changes in /etc prior to $HIGHLEVEL_PACKAGE_MANAGER run" >&2
+ echo "" >&2
+ echo "** etckeeper detected uncommitted changes in /etc prior to $HIGHLEVEL_PACKAGE_MANAGER run" >&2
+ echo "** Aborting $HIGHLEVEL_PACKAGE_MANAGER run. Manually commit and restart." >&2
+ echo "" >&2
exit 1
fi
if ! etckeeper commit "saving uncommitted changes in /etc prior to $HIGHLEVEL_PACKAGE_MANAGER run"; then