I need to run the latest version of Sane-Backends to support my scanner. I've compiled the source such that it's out of the way for the distro's package V1.22 but when I run an update it overwrites my simlink to libsane.so.1 so then I have to manually update the symlink.
My Question is two fold:
- Is there a way to prevent this from happening? Should I pin the package? I'm not sure if that's the correct approach?
- If not is there some sort "hook" that I can connect a script to run on a post update action? ie run:
sudo ln -sf /usr/lib/libsane.so.1.0.24 libsane.so.1
The OS is raspbian, aka Debian 7.0 for the Rasberry Pi.
Thanks for the tips.