# Avoid to launch update-*-database
python ./install.py install --dir $INSTALL_ROOT/usr --no-mime  &&

# Hopelessly we so have to do some stuff manually
if [ "$THUMBNAILER" = "y" ]; then
  install -m 755 mime/comicthumb $INSTALL_ROOT/usr/bin/comicthumb  &&
  install -m 644 mime/comicthumb.1.gz $INSTALL_ROOT/usr/share/man/man1/comicthumb.1.gz  &&
  install -m 644 mime/comix.xml $INSTALL_ROOT/usr/share/mime/packages/comix.xml  &&
  install -m 644 mime/comicbook.schemas $INSTALL_ROOT/etc/gconf/schemas
fi
