--- loncom/publisher/loncfile.pm 2003/08/26 19:17:02 1.40 +++ loncom/publisher/loncfile.pm 2003/08/28 20:28:33 1.41 @@ -9,7 +9,7 @@ # and displays a page showing the results of the action. # # -# $Id: loncfile.pm,v 1.40 2003/08/26 19:17:02 www Exp $ +# $Id: loncfile.pm,v 1.41 2003/08/28 20:28:33 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -758,28 +758,28 @@ sub Rename2 { my $tmp2=$nRN.'.meta'; if(-e $tmp1){ unless(rename($tmp1,$tmp2)){ } - }else if(-e $tmp2){ + } elsif(-e $tmp2){ unlink $tmp2; } $tmp1=$oRN.'.save'; $tmp2=$nRN.'.save'; if(-e $tmp1){ unless(rename($tmp1,$tmp2)){ } - }else if(-e $tmp2){ + } elsif(-e $tmp2){ unlink $tmp2; } $tmp1=$oRN.'.log'; $tmp2=$nRN.'.log'; if(-e $tmp1){ unless(rename($tmp1,$tmp2)){ } - }else if(-e $tmp2){ + } elsif(-e $tmp2){ unlink $tmp2; } $tmp1=$oRN.'.bak'; $tmp2=$nRN.'.bak'; if(-e $tmp1){ unless(rename($tmp1,$tmp2)){ } - }else if(-e $tmp2){ + } elsif(-e $tmp2){ unlink $tmp2; } } else {