blob: e6410429a3f1841c7b3d8d0888270d55abb8a5fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!XXXLOCALBASEXXX/bin/perl
#
# $NetBSD: deinstall,v 1.2 2003/05/06 17:41:16 jmmv Exp $
#
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__
|