Package: dictionaries-common
Version: 1.3.2
Severity: important
Tags: patch
We are going to fix the spellchecker issue in Mozilla that "required"
these symlinks, so please remove these symlinks.
The attached patch should do the right thing.
Mike
PS: I really wonder how these symlinks got here in the first place.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dictionaries-common depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libtext-iconv-perl 1.7-2 converts between character sets in
dictionaries-common recommends no packages.
Versions of packages dictionaries-common suggests:
pn emacsen-common <none> (no description available)
ii ispell 3.1.20.0-7 International Ispell (an interacti
pn jed-extra <none> (no description available)
-- debconf information excluded
diff -ruN dictionaries-common-1.3.2.old/scripts/debhelper/installdeb-myspell dictionaries-common-1.3.2/scripts/debhelper/installdeb-myspell
--- dictionaries-common-1.3.2.old/scripts/debhelper/installdeb-myspell 2009-11-23 09:01:24.213401490 +0100
+++ dictionaries-common-1.3.2/scripts/debhelper/installdeb-myspell 2009-11-23 09:02:00.821415204 +0100
@@ -65,7 +65,6 @@
foreach $package (@{$dh{DOPACKAGES}}) {
- my $do_mozlinks = "yes";
my %datahash = ();
# Process the debian/info-myspell file
@@ -83,14 +82,6 @@
"s/#PACKAGE#/$package/");
}
- # Skip setting automatic mozilla links if debian/$package.links exists
- if ( pkgfile($package, "links") ){
- $do_mozlinks = '';
- print STDERR "[installdeb-myspell] " .
- pkgfile($package, "links") .
- " exists: Will not automatically set mozilla links\n";
- }
-
if ( $o2compat ) {
# Install the info file in the openoffice2 info dir if requested.
my $old_infodir = tmpdir ($package) . $oooinfodir;
@@ -137,15 +128,6 @@
doit ("ln", "-fs", "$ltarget", "$old_destdir/$basefile")
if $o2compat;
- # Install mozilla symlinks if appropriate
- if ( $do_mozlinks && $basefile =~ /_/) {
- my $link = $basefile;
- $link =~ tr/_/-/;
- doit ("ln", "-fs", $basefile, "$destdir/$link");
- doit ("ln", "-fs", $basefile, "$old_destdir/$link")
- if $o2compat;
- }
-
# Install alternative symlinks
foreach my $altlink ( @alternatives) {
my $newlink = "$altlink.$ext";