if ($tonight->makeSrcs() !== TRUE) { $error = "There were Errors in the make of the sources examine make.out\n"; print $error; reportError($error, 'make.out'); exit(1); } //try to stop the scheduler before the make install step. print "Stopping Scheduler before install\n"; if ($tonight->stopScheduler() !== TRUE) { $error = "Could not stop fossology-scheduler, maybe it wasn't running?\n"; print $error; reportError($error, NULL); } // Step 4 install fossology print "Installing fossology\n"; if ($tonight->makeInstall() !== TRUE) { $error = "There were Errors in the Installation examine make-install.out\n"; print $error; reportError($error, 'mi.out'); exit(1); } // Step 5 run the post install process /* for most updates you don't have to remake the db and license cache. Need to add a -d for turning it off. */ print "Running fo-postinstall\n"; $iRes = $tonight->foPostinstall(); print "install results are:{$iRes}\n"; if ($iRes !== TRUE) { $error = "There were errors in the postinstall process check fop.out\n";