scilab (5.4.0-alpha-20120903-33206a8-1~exp2) adddemo.diff

Summary

 modules/demo_tools/macros/add_demo.sci |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Index: scilab-5.4.0-alpha-1/modules/demo_tools/macros/add_demo.sci
===================================================================
--- scilab-5.4.0-alpha-1.orig/modules/demo_tools/macros/add_demo.sci	2011-12-28 11:28:12.875545097 +0100
+++ scilab-5.4.0-alpha-1/modules/demo_tools/macros/add_demo.sci	2011-12-28 11:30:45.319549295 +0100
@@ -35,7 +35,7 @@
   path = pathconvert(path, %f, %t);
 
   if ~isfile(path) then
-    error(msprintf(gettext("%s: The file %s does not exist.\n"), "add_demo", path));
+    error(msprintf(gettext("Demos are not available. Please install the package scilab-doc\n")));
   end
 
   if isdir(path) then