diff --git a/checkin_notes b/checkin_notes index acd9de8cf2..3f81baf113 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2146,3 +2146,9 @@ David 8 Apr 2011 client/ cs_scheduler.cpp + +David 8 Apr 2011 + - "upgrade" script: copy sched/fcgi if it exists + + py/Boinc/ + setup_project.py diff --git a/py/Boinc/setup_project.py b/py/Boinc/setup_project.py index 796e4cfa07..1db2768ada 100644 --- a/py/Boinc/setup_project.py +++ b/py/Boinc/setup_project.py @@ -362,6 +362,10 @@ sys.path.insert(0, os.path.join('%s', 'py')) if os.path.isfile(dir('cgi-bin', 'cgi')): os.rename(dir('cgi-bin', 'cgi'), dir('cgi-bin', 'cgi.old')) + if os.path.isfile(dir('cgi-bin', 'fcgi')): + os.rename(dir('cgi-bin', 'fcgi'), dir('cgi-bin', 'fcgi.old')) + map(lambda (s): install(builddir('sched',s), dir('cgi-bin',s)), + [ 'fcgi']) if os.path.isfile(dir('cgi-bin', 'file_upload_handler')): os.rename(dir('cgi-bin', 'file_upload_handler'), dir('cgi-bin', 'file_upload_handler.old'))