[SM-Commit] BZR Change 13 to test sorcery by Andrew Stitt <astitt at sourcemage.org>

bzr at mail.sourcemage.org bzr at mail.sourcemage.org
Wed Apr 12 12:40:03 EDT 2006


------------------------------------------------------------
revno: 13
committer: Andrew Stitt <astitt at sourcemage.org>
branch nick: test
timestamp: Wed 2006-04-12 09:37:03 -0700
message:
  fix bug 10682

=== modified file 'ChangeLog'
--- ChangeLog	
+++ ChangeLog	
@@ -1,6 +1,7 @@
 2006-04-12 Andrew Stitt <astitt at sourcemage.org>
 	* gaze: fix bug 10144, fix viewing of install queue, patch from
 	  Jaka Kranjc
+	* libdispel: print message if dispel fails, bug 10682
 
 2006-04-08 Andrew Stitt <astitt at sourcemage.org>
 	* libdepends: add default_* functions for dependency resolution

=== modified file 'var/lib/sorcery/modules/libdispel'
--- var/lib/sorcery/modules/libdispel	
+++ var/lib/sorcery/modules/libdispel	
@@ -350,6 +350,14 @@
       activity_log  "dispel"  "$SPELL"  "$VERSION"  "success"
     ) &&
     reap_depends
+    local rc=$?
+    if [[ "$rc" != 0 ]] ; then
+        message "${PROBLEM_COLOR}Dispel of${DEFAULT_COLOR}" \
+                "${SPELL_COLOR}$SPELL${DEFAULT_COLOR}" \
+                "${PROBLEM_COLOR}failed!${DEFAULT_COLOR}"
+        return $rc
+    fi
+    return 0
 }
 
 #---------------------------------------------------------------------




More information about the SM-Commit mailing list