( cd usr/lib ; rm -rf libgimpbase-2.0.so.0 )
( cd usr/lib ; ln -sf libgimpbase-2.0.so.0.306.0 libgimpbase-2.0.so.0 )
( cd usr/lib ; rm -rf libgimpbase-2.0.so )
( cd usr/lib ; ln -sf libgimpbase-2.0.so.0.306.0 libgimpbase-2.0.so )
( cd usr/lib ; rm -rf libgimpcolor-2.0.so.0 )
( cd usr/lib ; ln -sf libgimpcolor-2.0.so.0.306.0 libgimpcolor-2.0.so.0 )
( cd usr/lib ; rm -rf libgimpcolor-2.0.so )
( cd usr/lib ; ln -sf libgimpcolor-2.0.so.0.306.0 libgimpcolor-2.0.so )
( cd usr/lib ; rm -rf libgimpmath-2.0.so.0 )
( cd usr/lib ; ln -sf libgimpmath-2.0.so.0.306.0 libgimpmath-2.0.so.0 )
( cd usr/lib ; rm -rf libgimpmath-2.0.so )
( cd usr/lib ; ln -sf libgimpmath-2.0.so.0.306.0 libgimpmath-2.0.so )
( cd usr/lib ; rm -rf libgimpconfig-2.0.so.0 )
( cd usr/lib ; ln -sf libgimpconfig-2.0.so.0.306.0 libgimpconfig-2.0.so.0 )
( cd usr/lib ; rm -rf libgimpconfig-2.0.so )
( cd usr/lib ; ln -sf libgimpconfig-2.0.so.0.306.0 libgimpconfig-2.0.so )
( cd usr/lib ; rm -rf libgimpmodule-2.0.so.0 )
( cd usr/lib ; ln -sf libgimpmodule-2.0.so.0.306.0 libgimpmodule-2.0.so.0 )
( cd usr/lib ; rm -rf libgimpmodule-2.0.so )
( cd usr/lib ; ln -sf libgimpmodule-2.0.so.0.306.0 libgimpmodule-2.0.so )
( cd usr/lib ; rm -rf libgimpthumb-2.0.so.0 )
( cd usr/lib ; ln -sf libgimpthumb-2.0.so.0.306.0 libgimpthumb-2.0.so.0 )
( cd usr/lib ; rm -rf libgimpthumb-2.0.so )
( cd usr/lib ; ln -sf libgimpthumb-2.0.so.0.306.0 libgimpthumb-2.0.so )
( cd usr/lib ; rm -rf libgimpwidgets-2.0.so.0 )
( cd usr/lib ; ln -sf libgimpwidgets-2.0.so.0.306.0 libgimpwidgets-2.0.so.0 )
( cd usr/lib ; rm -rf libgimpwidgets-2.0.so )
( cd usr/lib ; ln -sf libgimpwidgets-2.0.so.0.306.0 libgimpwidgets-2.0.so )
( cd usr/lib ; rm -rf libgimp-2.0.so.0 )
( cd usr/lib ; ln -sf libgimp-2.0.so.0.306.0 libgimp-2.0.so.0 )
( cd usr/lib ; rm -rf libgimp-2.0.so )
( cd usr/lib ; ln -sf libgimp-2.0.so.0.306.0 libgimp-2.0.so )
( cd usr/lib ; rm -rf libgimpui-2.0.so.0 )
( cd usr/lib ; ln -sf libgimpui-2.0.so.0.306.0 libgimpui-2.0.so.0 )
( cd usr/lib ; rm -rf libgimpui-2.0.so )
( cd usr/lib ; ln -sf libgimpui-2.0.so.0.306.0 libgimpui-2.0.so )
( cd usr/man/man1 ; rm -rf gimptool.1.gz )
( cd usr/man/man1 ; ln -sf gimptool-2.2.1.gz gimptool.1.gz )
( cd usr/man/man1 ; rm -rf gimp-remote.1.gz )
( cd usr/man/man1 ; ln -sf gimp-remote-2.2.1.gz gimp-remote.1.gz )
( cd usr/man/man1 ; rm -rf gimp.1.gz )
( cd usr/man/man1 ; ln -sf gimp-2.2.1.gz gimp.1.gz )
( cd usr/man/man5 ; rm -rf gimprc.5.gz )
( cd usr/man/man5 ; ln -sf gimprc-2.2.5.gz gimprc.5.gz )

if [ -x usr/bin/update-mime-database ]; then
  usr/bin/update-mime-database usr/share/mime 1> /dev/null 2> /dev/null
fi

if [ -x usr/bin/update-desktop-database ]; then
  usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
fi
