Magellan Linux

Diff of /alx-src/branches/alxconf-060/plugins/flashplayer/plugin.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2779 by niro, Fri Aug 26 11:51:09 2011 UTC revision 3503 by niro, Thu Apr 19 12:17:20 2012 UTC
# Line 7  PLUGIN_MENUITEM_PARAM="" Line 7  PLUGIN_MENUITEM_PARAM=""
7  PLUGIN_MENUITEM_WORKDIR=""  PLUGIN_MENUITEM_WORKDIR=""
8  PLUGIN_MENUITEM_ICON=""  PLUGIN_MENUITEM_ICON=""
9    
10    PLUGIN_AUTOSTART=0
11    
12  PLUGIN_PACKAGES="curl flashplayer"  PLUGIN_PACKAGES="curl flashplayer"
13    
14  install_plugin()  install_plugin()
# Line 38  create_menuitem() Line 40  create_menuitem()
40   echo "PLUGIN_MENUITEM_ICON=\"${PLUGIN_MENUITEM_ICON}\""   echo "PLUGIN_MENUITEM_ICON=\"${PLUGIN_MENUITEM_ICON}\""
41  }  }
42    
43    autostart_plugin()
44    {
45     echo "PLUGIN_AUTOSTART=\"${PLUGIN_AUTOSTART}\""
46    }
47    
48  uninstall_plugin()  uninstall_plugin()
49  {  {
50   local i   local i
# Line 58  case $1 in Line 65  case $1 in
65   setup) setup_plugin ;;   setup) setup_plugin ;;
66   menuitem) create_menuitem ;;   menuitem) create_menuitem ;;
67   uninstall) uninstall_plugin ;;   uninstall) uninstall_plugin ;;
68     autostart) autostart_plugin ;;
69   *) echo "PLUGIN '${PLUGIN_NAME}': unkown operation '$1'" ;;   *) echo "PLUGIN '${PLUGIN_NAME}': unkown operation '$1'" ;;
70  esac  esac

Legend:
Removed from v.2779  
changed lines
  Added in v.3503