re-add the IPKG plugin and rename the upgrade main function
[enigma2.git] / lib / python / Plugins / update / plugin.py
index 070c199c645ac13aba0bb05afa6353a2253140bf..e472a38c32085dd7314139b53bfcbbb556a0669b 100644 (file)
@@ -162,8 +162,12 @@ class Ipkg(Screen):
                else:
                        self.close()
 
-def main(session):
+def UpgradeMain(session):
        session.open(Upgrade)
 
+def IpkgMain(session):
+       session.open(Ipkg)
+
 def Plugins():
-       return PluginDescriptor(name="Softwareupdate", description="Updates your receiver's software", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main)
+       return [PluginDescriptor(name="Softwareupdate", description="Updates your receiver's software", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=UpgradeMain),
+                       PluginDescriptor(name="IPKG", description="(Beta-)Frontend for the packet management", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=IpkgMain)]