if [ -x /opt/gnome/bin/scrollkeeper-update ]; then
  if [ -d /var/lib/scrollkeeper ]; then
    PATH=/opt/gnome/bin:$PATH
    /opt/gnome/bin/scrollkeeper-update -p /var/lib/scrollkeeper
  fi
fi
( cd opt/gnome/lib ; rm -rf libscrollkeeper.so.0 )
( cd opt/gnome/lib ; ln -sf libscrollkeeper.so.0.0.0 libscrollkeeper.so.0 )
( cd opt/gnome/lib ; rm -rf libscrollkeeper.so )
( cd opt/gnome/lib ; ln -sf libscrollkeeper.so.0.0.0 libscrollkeeper.so )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf bg_BG )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/bg bg_BG )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf bg_BG.cp1251 )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/bg bg_BG.cp1251 )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf de_AT )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/de de_AT )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf en )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/C en )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf en_AU )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/en en_AU )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf en_GB )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/en en_GB )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf en_SE )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/en en_SE )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf en_UK )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/en en_UK )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf en_US )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/en en_US )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf es_DO )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/es es_DO )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf es_ES )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/es es_ES )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf es_GT )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/es es_GT )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf es_HN )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/es es_HN )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf es_MX )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/es es_MX )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf es_PA )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/es es_PA )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf es_PE )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/es es_PE )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf es_SV )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/es es_SV )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf ja_JP.eucJP )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/ja ja_JP.eucJP )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf no )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/nb no )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf no_NY )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/nn no_NY )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf pt_PT )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/pt pt_PT )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf sr_YU )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/sr sr_YU )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf sv_SE )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/sv sv_SE )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf zh_CN )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/zh zh_CN )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf zh_CN.GB2312 )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/zh zh_CN.GB2312 )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf zh_TW )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/zh zh_TW )
( cd opt/gnome/share/scrollkeeper/Templates ; rm -rf zh_TW.Big5 )
( cd opt/gnome/share/scrollkeeper/Templates ; ln -sf /tmp/package-scrollkp/opt/gnome/share/scrollkeeper/Templates/zh zh_TW.Big5 )
