Moved installation trick from pretrans to pre

We can't have any scripts in pretrans because those don't work during bootstrap installation in image creation. Fortunately new package %pre  is run before old package %preun so this works too