--- doc/loncapafiles/removenolongerused.piml 2013/08/31 00:25:58 1.6 +++ doc/loncapafiles/removenolongerused.piml 2014/06/20 19:01:02 1.9 @@ -14,6 +14,7 @@ my %paths = ( 'apache' => '/home/httpd/lib/perl/Apache', 'londocroot' => '/home/httpd/html', 'rcgifs' => '/home/httpd/html/res/adm/pages', + 'debug' => '/home/httpd/perl/debug', ); my %files = ( @@ -24,7 +25,10 @@ my %files = ( 'adm/rat/extpickframe.html', 'res/adm/pages/imgmaps.html', 'res/adm/pages/menu.html', - 'res/adm/pages/homeworkmenu.html'], + 'res/adm/pages/homeworkmenu.html', + 'adm/help/gif/vbkm.gif', + 'adm/help/eps/vbkm.eps'], + 'debug' => ['archive_coursedata_tables.pl'], ); my %dirs = ( @@ -34,7 +38,7 @@ my %dirs = ( ); my %multis = ( - rcgifs' => \@rcgifs, + 'rcgifs' => \@rcgifs, ); my @filestodelete = (); my @dirstodelete = (); @@ -115,7 +119,7 @@ if (@multistodelete > 0) { $choice =~ s/\s+//g; if ($choice eq 'Y') { foreach my $item (@multistodelete) { - next if ((($item =~/\*/) || ($item eq '') || ($item eq '/')); + next if (($item =~/\*/) || ($item eq '') || ($item eq '/')); unlink($item); } }