CWD=$(pwd)
cd usr/info
if [ -f dir ];then
    rm dir
fi
if [ -f dir.gz ];then
    rm dir.gz
fi
for i in *.info.gz;do
    install-info $i dir
done
cd $CWD

( cd usr/man/man1 ; rm -rf gst-reload.1 )
( cd usr/man/man1 ; ln -sf /tmp/builds/smalltalk/tmp/package-smalltalk/usr/man/man1/gst-load.1 gst-reload.1 )
( cd usr/lib ; rm -rf libgst.so.7 )
( cd usr/lib ; ln -sf libgst.so.7.1.3 libgst.so.7 )
( cd usr/lib/smalltalk ; rm -rf dbd-sqlite3.so )
( cd usr/lib/smalltalk ; ln -sf dbd-sqlite3-3.2.5.so dbd-sqlite3.so )
( cd usr/lib/smalltalk ; rm -rf expat.so )
( cd usr/lib/smalltalk ; ln -sf expat-3.2.5.so expat.so )
( cd usr/lib/smalltalk ; rm -rf zlib.so )
( cd usr/lib/smalltalk ; ln -sf zlib-3.2.5.so zlib.so )
( cd usr/lib/smalltalk ; rm -rf digest.so )
( cd usr/lib/smalltalk ; ln -sf digest-3.2.5.so digest.so )
( cd usr/lib/smalltalk ; rm -rf gst-gtk.so )
( cd usr/lib/smalltalk ; ln -sf gst-gtk-3.2.5.so gst-gtk.so )
( cd usr/lib/smalltalk ; rm -rf blox-tk.so )
( cd usr/lib/smalltalk ; ln -sf blox-tk-3.2.5.so blox-tk.so )
( cd usr/lib/smalltalk ; rm -rf i18n.so )
( cd usr/lib/smalltalk ; ln -sf i18n-3.2.5.so i18n.so )
( cd usr/lib/smalltalk ; rm -rf gdbm.so )
( cd usr/lib/smalltalk ; ln -sf gdbm-3.2.5.so gdbm.so )
( cd usr/lib/smalltalk ; rm -rf iconv.so )
( cd usr/lib/smalltalk ; ln -sf iconv-3.2.5.so iconv.so )
( cd usr/lib ; rm -rf libgst.so )
( cd usr/lib ; ln -sf libgst.so.7.1.3 libgst.so )
