5b8459a178
- Cleanup the port PR: ports/81835 [1] Submitted by: HAYASHI Yasushi <yasi@yasi.to> [1]
9 lines
222 B
Bash
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 "$@"
|