Bug#425479: Symlinks still aren't fixed

2007-05-21 Thread Martin Orr
Package: icedove
Version: 2.0.0.0-3
Severity: serious


The upgrade 1.5 - 2.0 still doesn't convert the directories in
/usr/lib/icedove to symlinks correctly.  The chrome directory is converted,
but defaults and greprefs are not; the symptom is no longer a segfault, but
the icedove window comes up empty.

In the preinst we have:
  if test -d /usr/lib/icedove/defaults; then
 if test ! -d /usr/share/icedove/defaults; then
   mkdir -p /usr/share/icedove/
   cp -r /usr/lib/icedove/defaults /usr/share/icedove/defaults
 else
   rm -rf /usr/lib/icedove/defaults
 fi
  fi

So that doesn't actually remove the old directory if the /usr/share
equivalent did not already exist.  (This explains why chrome is converted,
because 1.5 did contain a /usr/share/chrome directory.)

I imagine you want to move the rm out of the else, or change the cp to mv.



--- System information. ---
Architecture: amd64
Kernel:   Linux 2.6.21

Debian Release: lenny/sid
  990 unstablewww.debian-multimedia.org
  990 unstableftp.ie.debian.org
  990 unstableftp.heanet.ie
  990 unstableftp-uxsup.csx.cam.ac.uk
1 experimentalftp.ie.debian.org
1 experimentalftp-uxsup.csx.cam.ac.uk

--- Package information. ---
Depends  (Version) | Installed
==-+-
fontconfig | 2.4.2-1.2
psmisc | 22.5-1
debianutils  (= 1.16) | 2.18.2
libatk1.0-0(= 1.13.2) | 1.18.0-2
libc6   (= 2.5-5) | 2.5-8
libcairo2   (= 1.4.0) | 1.4.6-1
libfontconfig1  (= 2.4.0) | 2.4.2-1.2
libfreetype6  (= 2.2) | 2.2.1-5
libgcc1(= 1:4.2-20070516) | 1:4.2-20070516-1
libglib2.0-0   (= 2.12.9) | 2.12.12-1
libgtk2.0-0(= 2.10.3) | 2.10.12-2
libjpeg62  | 6b-13
libnspr4-0d  (= 1.8.0.10) | 4.6.6-3
libnss3-0d   (= 1.8.0.10) | 3.11.5-3+b1
libpango1.0-0  (= 1.16.4) | 1.16.4-1
libpng12-0   (= 1.2.13-4) | 1.2.15~beta5-2
libstdc++6   (= 4.2-20070516) | 4.2-20070516-1
libx11-6   | 2:1.1.1-1
libxcursor1 ( 1.1.2) | 1:1.1.8-2
libxext6   | 1:1.0.3-2
libxfixes3(= 1:4.0.1) | 1:4.0.3-2
libxft2 ( 2.1.1) | 2.1.12-2
libxi6 | 2:1.1.0-2
libxinerama1   | 1:1.0.2-1
libxrandr2(= 2:1.2.0) | 2:1.2.1-1
libxrender1| 1:0.9.2-1
libxt6 | 1:1.0.5-3
zlib1g(= 1:1.2.1) | 1:1.2.3-15


-- 
Martin Orr



signature.asc
Description: OpenPGP digital signature


Bug#425479: Symlinks still aren't fixed

2007-05-21 Thread Alexander Sack - Debian Bugmail
On Mon, May 21, 2007 at 11:19:47PM +0100, Martin Orr wrote:
 Package: icedove
 Version: 2.0.0.0-3
 Severity: serious
 
 
 The upgrade 1.5 - 2.0 still doesn't convert the directories in
 /usr/lib/icedove to symlinks correctly.  The chrome directory is converted,
 but defaults and greprefs are not; the symptom is no longer a segfault, but
 the icedove window comes up empty.
 
 In the preinst we have:
   if test -d /usr/lib/icedove/defaults; then
  if test ! -d /usr/share/icedove/defaults; then
mkdir -p /usr/share/icedove/
cp -r /usr/lib/icedove/defaults /usr/share/icedove/defaults
  else
rm -rf /usr/lib/icedove/defaults
  fi
   fi
 
 So that doesn't actually remove the old directory if the /usr/share
 equivalent did not already exist.  (This explains why chrome is converted,
 because 1.5 did contain a /usr/share/chrome directory.)
 
 I imagine you want to move the rm out of the else, or change the cp to mv.
 

Oh, mui incident ... you are right :). Thanks,


 - Alexander

-- 
 GPG messages preferred.   |  .''`.  ** Debian GNU/Linux **
 Alexander Sack| : :' :  The  universal
 [EMAIL PROTECTED]   | `. `'  Operating System
 http://www.asoftsite.org  |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]