/[smeserver]/cdrom.image/updates/smeupgradeclass.py
ViewVC logotype

Diff of /cdrom.image/updates/smeupgradeclass.py

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

Revision 1.6 by gordonr, Fri Oct 7 20:55:54 2005 UTC Revision 1.7 by gordonr, Mon Oct 10 04:14:41 2005 UTC
# Line 88  class InstallClass(BaseInstallClass): Line 88  class InstallClass(BaseInstallClass):
88                      "complete"                      "complete"
89                  )                  )
90    
91      def postAction(self, rootPath, serial):      def postAction(self, rootPath, serial, intf):
92            win = intf.waitWindow(_("Post Upgrade Script"),
93               _("The post upgrade script is running..."))
94    
95          script = ( "/sbin/syslogd &\n"          script = ( "/sbin/syslogd &\n"
96                     "sleep 2\n"                     "sleep 2\n"
97                     "/sbin/e-smith/signal-event post-upgrade\n" )                     "/sbin/e-smith/signal-event post-upgrade\n" )
98          s = Script(script, interp="/bin/sh", inChroot=1)          s = Script(script, interp="/bin/sh", inChroot=1)
99          log("%s", s)          log("%s", s)
100          s.run(rootPath, serial)          s.run(rootPath, serial)
101            win.pop()
102    
103      def setInstallData(self, id):      def setInstallData(self, id):
104          BaseInstallClass.setInstallData(self, id)          BaseInstallClass.setInstallData(self, id)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed