summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 09:06:56 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 09:06:56 +0000
commit95d75d94204780af9f7ed9b2458dacfd494572af (patch)
treea39aea9fb8a336d153325bdbdd3b91f5ebe6dd1b
parentc36a65fd50c649ea4a8c3bc1ebc95e75b5c2dac9 (diff)
downloadurpmi-95d75d94204780af9f7ed9b2458dacfd494572af.tar
urpmi-95d75d94204780af9f7ed9b2458dacfd494572af.tar.gz
urpmi-95d75d94204780af9f7ed9b2458dacfd494572af.tar.bz2
urpmi-95d75d94204780af9f7ed9b2458dacfd494572af.tar.xz
urpmi-95d75d94204780af9f7ed9b2458dacfd494572af.zip
Add the _rollback_transaction_on_failure macro (with the default value,
disabled) to the urpmi.recover.macros file
-rw-r--r--urpmi.recover3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmi.recover b/urpmi.recover
index 312cbaf4..70e4adec 100644
--- a/urpmi.recover
+++ b/urpmi.recover
@@ -139,6 +139,9 @@ if ($do_checkpoint) {
# Don't erase on rollback before this date (seconds since epoch)
%_unsafe_rollbacks $unsafe_rollbacks
+
+# Automate transaction rollbacks on upgrade failure
+%_rollback_transaction_on_failure 0
MACROS
close $fh;