[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#3228: upgrading xfig clobbers app defaults link



> 
> Package: xfig
> Version: 3.1.4b-2
> 
> When upgrading an existing version of xfig, it does not prompt the
> installer for color or mono app defaults, just blindly installs a link
> to the color app defaults.  Shouldn't it either
> 
> a) prompt in this case
> b) keep what's there?

Are you sure? From the xfig.postinst:

   cd /usr/X11R6/lib/X11/app-defaults
   if [ -e Xfig -o -h Xfig ]
   then
   	   exit 0
   fi
   
   echo "There are two application defaults (app-defaults) files for xfig -- Xfig-mono"
   echo -e "and Xfig-color.  Which one would you like to use? [c/m] \c"
   read ANSWER
 
   [go on making the symlinks]

OK the symlink it makes for a mono display is wrong, but that's different:).

I'll be releasing a new and improved xfig shortly.

-- 
joost witteveen
            joost@rulcmc.leidenuniv.nl
          joostje@debian.org
--
Use Debian Linux!


Reply to: