diff options
Diffstat (limited to 'japanese/alias-fonts/pkg-deinstall')
-rw-r--r-- | japanese/alias-fonts/pkg-deinstall | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/japanese/alias-fonts/pkg-deinstall b/japanese/alias-fonts/pkg-deinstall deleted file mode 100644 index fb338b5dd365..000000000000 --- a/japanese/alias-fonts/pkg-deinstall +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/perl -$prefix = $ENV{'PKG_PREFIX'}; -$dir = "$prefix/lib/X11/fonts/local"; -$to = "$dir/fonts.alias"; -$from = "$to.orig"; -rename($to, $from) || die("Can't rename: $!"); -open(IN, $from) || die("Can't open $from: $!"); -open(OUT, ">$to") || die("Can't open $to: $!"); -while (<IN>) { - chop; - if (/^\s*!/ || /^\s*$/) { - print OUT "$_\n"; - } - else { - @line = split(/\s+/, $_); - @elm = split(/-+/, $line[0]); - if ($elm[1] ne 'netscape' && $elm[1] ne 'netscape.k10') { - print OUT "$_\n"; - } - } -} -#system("$prefix/bin/xset fp rehash"); |