home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / scrconf / autoinstall.scr next >
Encoding:
Text File  |  2006-11-29  |  993 b   |  42 lines

  1. /**
  2.  * File:    yast2_desktop.scr
  3.  * Summary:    Agent for reading/writing yast2 menuentries
  4.  * Author:    Michal Svec <msvec@suse.cz>
  5.  *            Anas Nashif <nashif@suse.de>
  6.  * Access:    read / write
  7.  *
  8.  * Example:
  9.  *   Dir(.yast2.menuentry)
  10.  *   (["lan", "modem", "isdn", ...])
  11.  **
  12.  *   Read(.yast2.menuentry.lan)
  13.  *   ("3")
  14.  *
  15.  * $Id: autoinstall.scr 12870 2003-11-30 03:46:04Z nashif $
  16.  */
  17. .autoyast2.desktop
  18.  
  19. `ag_ini(
  20.     `IniAgent( [ "/usr/share/applications/YaST2/*.desktop" , "/usr/share/autoinstall/modules/*.desktop" ],
  21.     $[
  22.         "options"    : [ ],
  23.         "comments"    : [ "^[ \t]*;.*", ";.*", "\\{[^}]*\\}", "^[ \t]*$" ],
  24.         "sections"    : [
  25.         $[ "begin" : [
  26.             "^[ \t]*\\[[ \t]*(.*[^ \t])[ \t]*\\][ \t]*",
  27.             "[%s]",
  28.         ]],
  29.         ],
  30.         "params" : [
  31.         $[ "match" : [
  32.             "^[ \t]*([^=]*[^ \t=])[ \t]*=[ \t]*(.*[^ \t]|)[ \t]*$" ,
  33.             "%s=%s",
  34.         ]],
  35.         ],
  36. //        "rewrite" : [
  37. //        [ "/usr/share/applications/YaST2/(.*)\.desktop", "/usr/share/applications/YaST2/%s.desktop" ],
  38. //        ],
  39.     ]
  40.     )
  41. )
  42.