--- loncom/publisher/lonpublisher.pm 2002/10/03 15:02:22 1.98 +++ loncom/publisher/lonpublisher.pm 2002/10/07 13:50:36 1.99 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Publication Handler # -# $Id: lonpublisher.pm,v 1.98 2002/10/03 15:02:22 www Exp $ +# $Id: lonpublisher.pm,v 1.99 2002/10/07 13:50:36 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1309,6 +1309,7 @@ if (-e $target) { while ($filename=readdir(DIR)) { if (-l $srcd.'/'.$filename) { unlink($srcd.'/'.$filename); + unlink($srcd.'/'.$filename.'.meta'); } else { if ($filename=~/$srcf\.(\d+)\.$srct$/) { $maxversion=($1>$maxversion)?$1:$maxversion;