aboutsummaryrefslogtreecommitdiff
path: root/net/peercast/files/peercast.in
blob: b0ec0996b36bd7f0da4f7423d2d7dca59779ffeb (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/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 "$@"