[system] / trunk / webwork / system / system_webwork_setup.pl Repository:
ViewVC logotype

Diff of /trunk/webwork/system/system_webwork_setup.pl

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

Revision 176 Revision 177
474 474
475#################### update couses stuff 475#################### update couses stuff
476# uses: $update_stuff_in_courses 476# uses: $update_stuff_in_courses
477 477
478if($update_stuff_in_courses) { 478if($update_stuff_in_courses) {
479 print "Setting permissions for ../courses directory.\n\n"; 479 print "Setting permissions for ../courses directory...\n";
480 if ($system_setup_mode eq "demo") {
480 chmod(0755, "$mainDir/../courses") or warn "Warning: I can't set permissions for ../courses directory. It's possible that the directory doesn't exist or you don't have permission to change it.\n"; 481 chmod(0755, "$mainDir/../courses") or warn "Warning: I can't set permissions for ../courses directory. It's possible that the directory doesn't exist or you don't have permission to change it.\n";
482 } else {
483 chmod(0775, "$mainDir/../courses") or warn "Warning: I can't set permissions for ../courses directory. It's possible that the directory doesn't exist or you don't have permission to change it.\n";
484 }
485 print "done permissions.\n\n";
481} 486}
482 487
483#################### run local postprocessor 488#################### run local postprocessor
484 489
485if(defined $local_postprocessor) { 490if(defined $local_postprocessor) {

Legend:
Removed from v.176  
changed lines
  Added in v.177

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9