#!/bin/bash

export ARG0=$0

POSTINST_DIR=${ARG0%/*}  # Delete trailing file name.
POSTINST_DIR=$( cd $POSTINST_DIR; pwd )
export POSTINST_DIR
pushd $POSTINST_DIR  > /dev/null


. ./functions

eval_cmd xdg-mime install --novendor ${INSTDIR}/share/${PACKAGE}.xml

last_cmd_status_check

popd > /dev/null

