Package: imagej
Version: 1.39b-5
Severity: normal

Hello,

The /usr/bin/imagej scripts generates wrong symlinks in
$HOME/.imagej due to the "Stack Tools.txt" file in
/usr/share/imagej/macros.

A solution could be to replace in /usr/bin/imagej the lines

for p in $(ls /usr/share/imagej/macros) ; do
  if [ ! -h $PLUGINSDIR/macros/$p ] ; then
      ln -s /usr/share/imagej/macros/$p $PLUGINSDIR/macros/$p
  fi
done

with something like :

ls -1 /usr/share/imagej/macros | while read p; do
  if [ ! -h "$PLUGINSDIR/macros/$p" ] ; then
      ln -s "/usr/share/imagej/macros/$p" "$PLUGINSDIR/macros/$p"
  fi
done

And thank you for packaging ImageJ !
Frédéric


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (650, 'stable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages imagej depends on:
ii  sun-java6-jre [java2-runtime] 6-00-2     Sun Java(TM) Runtime Environment (

imagej recommends no packages.

-- no debconf information


Reply via email to