freebsd-ports/net-p2p/peercast/files/peercast.sh.in
Jean-Yves Lefort 5b8459a178 - Update to 0.1212 [1]
- Cleanup the port

PR:		ports/81835 [1]
Submitted by:	HAYASHI Yasushi <yasi@yasi.to> [1]
2005-06-03 13:21:42 +00:00

9 lines
222 B
Bash

#!/bin/sh
if [ ! -d "$HOME/.peercast" ]; then
mkdir "$HOME/.peercast" || exit 1
ln -s "%%DATADIR%%/html" "%%PREFIX%%/libexec/peercast" "$HOME/.peercast" || exit 1
fi
cd "$HOME/.peercast" || exit 1
exec ./peercast "$@"