add postinst and postrm scripts to manage symlinks