2000-12-13 09:18:01 +01:00
|
|
|
#!XXXLOCALBASEXXX/bin/perl
|
|
|
|
#
|
2001-11-01 01:57:41 +01:00
|
|
|
# $NetBSD: deinstall,v 1.1 2001/11/01 01:11:33 zuntum 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) {
|
|
|
|
$found++ if ($datum eq $_);
|
|
|
|
}
|
|
|
|
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__
|