2000-12-13 09:18:01 +01:00
|
|
|
#!XXXLOCALBASEXXX/bin/perl
|
|
|
|
#
|
2003-05-06 19:40:18 +02:00
|
|
|
# $NetBSD: deinstall,v 1.2 2003/05/06 17:41:17 jmmv Exp $
|
2000-12-13 09:18:01 +01:00
|
|
|
#
|
|
|
|
open (FILE,"XXXLOCALBASEXXX/etc/rplay.conf");
|
|
|
|
open (OUT,">tmp");
|
|
|
|
@data = <DATA>;
|
|
|
|
while (<FILE>) {
|
|
|
|
$found=0;
|
|
|
|
foreach $datum (@data) {
|
2003-05-06 19:40:18 +02:00
|
|
|
$found++ if ($datum eq $_);
|
2000-12-13 09:18:01 +01:00
|
|
|
}
|
|
|
|
print OUT "$_" if ($found == 0);
|
|
|
|
}
|
|
|
|
close(OUT);
|
|
|
|
close(FILE);
|
|
|
|
system("mv tmp XXXLOCALBASEXXX/etc/rplay.conf");
|
|
|
|
system("XXXX11BASEXXX/bin/mkfontdir XXXX11BASEXXX/lib/X11/fonts/misc");
|
|
|
|
__END__
|