summaryrefslogtreecommitdiff
path: root/games/crossfire-srv/deinstall
blob: acbc1a1de8d3ea5d1daca9cf24747623feaaf168 (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.1 2001/11/01 01:11:33 zuntum 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__