#!/bin/sh
set -e
# Automatically update menu
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi

# Automatically update mime
if [ -x "`which update-mime-database 2>/dev/null`" ]; then
update-mime-database /usr/share/mime
fi

ln -sf /opt/master-pdf-editor-5/masterpdfeditor5 /usr/bin/masterpdfeditor5