#!/bin/sh
ln -s /opt/maemo/usr/lib/hildon-desktop/mediabox_widget /usr/lib/hildon-desktop/mediabox_widget
if [ "$1" = "configure" ]; then
  gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/mediabox-home-widget.schemas
  gconf-schemas --register mediabox-home-widget.schemas
fi
exit 0
