#!/bin/bash

#
# Script to display What's New using Acrobat, KGhostView or xpdf
#
# Placeholder file, overwritten during installation

type -t acroread > /dev/null
if [ "\$?" -eq 0 ]; then
    acroread "/usr/local/aplx/manuals/APLXv5_Update_Reference.pdf"
else
    type -t kghostview > /dev/null
    if [ "\$?" -eq 0 ]; then
        kghostview "/usr/local/aplx/manuals/APLXv5_Update_Reference.pdf"
    else
        type -t xpdf > /dev/null
        if [ "\$?" -eq 0 ]; then
            xpdf "/usr/local/aplx/manuals/APLXv5_Update_Reference.pdf"
        fi
    fi
fi