update-alternatives-cworth: use latest installed alternative
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 18 Nov 2009 03:53:23 +0000 (03:53 +0000)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 7 Jan 2010 11:58:16 +0000 (12:58 +0100)
commit758da30df2ca3abbdad24c972f590eaa40e70930
tree2953ca2a10237aa98e4168b1edfa10ffd6e641b5
parent1700b4c84455186bc1d2f80bfc4ea65b51736cdb
update-alternatives-cworth: use latest installed alternative

* if there is more alternatives with higest priority, use the one last
  in alternatives file (latest installed)
* if target exists and its directory, remove link, otherwise new
  alternative link is created inside that direstory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/update-alternatives/update-alternatives-cworth-native_0.99.154.bb
recipes/update-alternatives/update-alternatives-cworth.inc
recipes/update-alternatives/update-alternatives-cworth/update-alternatives.use.last.patch [new file with mode: 0644]
recipes/update-alternatives/update-alternatives-cworth_0.99.154.bb