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

if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi

( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/pt ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/pt ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/ug ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/ug ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/zh_CN ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/zh_CN ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/gl ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/gl ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/ru ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/ru ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/uk ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/uk ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/el ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/el ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/tr ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/tr ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/da ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/da ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/ca ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/ca ; ln -sf ../C/media media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/it ; rm -rf media )
( cd usr/doc/xfce4-clipman-plugin-1.2.3/html/it ; ln -sf ../C/media media )
