[gobolinux-devel] Wrong output in UpdateSettings

Jonas Karlsson jonka750 at student.liu.se
Sat Oct 21 22:28:35 UTC 2006


Here's a patch for UpdateSettings, to make it print out the right file  
affected.
For review before commit.

diff -u -r1.18 UpdateSettings
--- UpdateSettings      10 Jul 2006 20:33:43 -0000      1.18
+++ UpdateSettings      21 Oct 2006 22:25:27 -0000
@@ -517,8 +517,8 @@
              Log_Normal "Successfully patched ${cur}"
           else
              case "$difftype" in
-               mod*)    Log_Normal "Not updating $default" ;;
-               del*)    Log_Normal "Not deleting $default" ;;
+               mod*)    Log_Normal "Not updating $cur" ;;
+               del*)    Log_Normal "Not deleting $cur" ;;
                 new*)    Log_Normal "Not using $default" ;;
                 *)       Log_Normal "Leaving $cur alone" ;;
              esac

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-devel mailing list