Re: RPM scripts

Leon Stringer wrote:
> 
> 
> 
> Hi,
> 
> Good to see that the Amaya RPM adds GNOME menu entries on GNU/Linux now.
> 
> One thing I've noticed for a while is that the RPM creates two links on
> install:
> 
> - /bin/ln -s /usr/share/Amaya-9.3/wx/bin/amaya /usr/bin/amaya_wx
> - /bin/ln -s /usr/bin/amaya_wx /usr/bin/amaya
> 
> But on uninstall only removes one of them:
> 
> - rm -f /usr/bin/amaya
> 
> So if you erase and reinstall the RPM you get an error because the
> symlink already exists.

I have encountered similar problems. A solution might be to add a 
'--force' flag to the 'ln' command in the installation script.

> If you're changing versions, you also can't launch Amaya because it's
> the amaya_wx link that's not erased and it's pointing to the wrong
> directory.
> 
> Maybe I should have mentioned this before you rebuilt the RPMs.
> 
> Sorry!
> 
> Leon Stringer
> 
> 
> 


-- 
Christian Mondrup, Sheet Music Editor
WIMA: Werner Icking Music Archive
http://icking-music-archive.org/

Received on Tuesday, 13 December 2005 12:27:26 UTC