#!/bin/sh
#
# @(#)install.sh	6.108 99/06/23
# Startup wrapper script for xmcd
#
#    xmcd  - Motif(tm) CD Audio Player
#    cda   - Command-line CD Audio Player
#
#    Copyright (C) 1993-1999  Ti Kan
#    E-mail: ti@amb.org
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
if [ -z "$XMCD_LIBDIR" ]
then
	XMCD_LIBDIR=/usr/share/xmcd
fi
XFILESEARCHPATH=/usr/X11R6/lib/X11/%T/%N%S:$XFILESEARCHPATH
XUSERFILESEARCHPATH=$HOME/.xmcdcfg/%N%S:$XUSERFILESEARCHPATH

export XMCD_LIBDIR XFILESEARCHPATH XUSERFILESEARCHPATH

exec /usr/lib/xmcd/Linux-i686/xmcd $*
