# Let's attempt to activate these libraries as they might be needed by various
# install scripts early on. We used to package symlinks in the normal way, and
# it's possible that would be fine too, but there must(?) have been a reason
# that we quit doing that...
if [ -x sbin/ldconfig ]; then
  sbin/ldconfig -r . 2> /dev/null
fi
( cd lib64 ; rm -rf libform.so.6 )
( cd lib64 ; ln -sf libformw.so.6 libform.so.6 )
( cd lib64 ; rm -rf libmenu.so.6 )
( cd lib64 ; ln -sf libmenuw.so.6 libmenu.so.6 )
( cd lib64 ; rm -rf libncurses++.so.6 )
( cd lib64 ; ln -sf libncurses++w.so.6 libncurses++.so.6 )
( cd lib64 ; rm -rf libncurses.so.6 )
( cd lib64 ; ln -sf libncursesw.so.6 libncurses.so.6 )
( cd lib64 ; rm -rf libpanel.so.6 )
( cd lib64 ; ln -sf libpanelw.so.6 libpanel.so.6 )
