summaryrefslogtreecommitdiff
path: root/recipes/update-alternatives/update-alternatives-cworth
AgeCommit message (Collapse)AuthorFiles
2010-01-13opkg, update-alternatives-cworth: use /usr/lib/opkg/alternatives directory ↵Martin Jansa1
instead of /usr/lib/ipkg/alternatives * It's usefull to make it compatible with u-a script in opkg package * Old entries are merged to new directory in quite verbose postinst script * If entry exists only in old it's moved * If entry exists in both the one with more lines is used * The one with less lines is not used and warning is shown * If they have the same number of lines diff is checked * If they are the same, old one is ignored * If they are different, old one is ignored and warning is shown Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-01-07update-alternatives-cworth: use latest installed alternativeMartin Jansa1
* 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>