W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2005

Re: RPM scripts

From: Christian Mondrup <reccmo@icking-music-archive.org>
Date: Tue, 13 Dec 2005 13:26:22 +0100
Message-ID: <439EBDEE.2080505@icking-music-archive.org>
To: www-amaya@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:42 GMT