#!/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

# Install the menu
eval_cmd xdg-desktop-menu install --novendor $INSTDIR/share/${PACKAGE}.desktop

last_cmd_status_check

popd > /dev/null

