> What's the practical difference between upgrading and
> removing-then-reinstalling?  (It probably shows that I haven't read the
> "maemo-optify and python apps" thread.)  Maybe you could fix the upgrade
> problem by writing a suitable preinst script?

I have noticed with upgrading from non optified packages to maemo-optified 
packages that directory links are not created.

For example if I first have installed a package with a directory 
/usr/share/games/crimson and upgrade to a package which has optified directory 
/usr/share/games/crimson -> /opt/maemo/usr/share/games/crimson, the link is not 
created because dpkg never removes /usr/share/games/crimson directory. Result 
is that I have empty /usr/share/games/crimson directory and all of it's content 
in /opt directory.

I think it's a bug in dpkg or then we are just using it wrong.

Workaround for this would be to remove the directory in preinst script or to 
install to another directory. But currently when all users are more or less 
beta testers I don't care about it.

-- 
Mikko Vartiainen
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to