1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/net-p2p/liberator/files/wrapper.sh
2003-05-02 05:07:33 +00:00

15 lines
242 B
Bash

#!/bin/sh
PREFIX="%%PREFIX%%"
PROGRAM="${0}"
DATADIR="%%DATADIR%%"
MIME_FILE=liber_mimetypes
if [ ! -f ${MIME_FILE} ]
then
cp -f ${PREFIX}/${DATADIR}/${MIME_FILE} \
${HOME}/.${MIME_FILE}
fi
exec ${PREFIX}/bin/${PROGRAM##*/}-real "${@}"