20 lines
476 B
Text
20 lines
476 B
Text
|
#!/bin/sh
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
# This scripts attempts to locate Flash on behalf of the Hulu Desktop.
|
||
|
# Without this script, Hulu will be unable to find libflashplayer.so causing
|
||
|
# each user to manually configure ~/.huludesktop manually.
|
||
|
#
|
||
|
|
||
|
PREFIX="%%PREFIX%%"
|
||
|
|
||
|
if [ ! -e ~/.huludesktop ]
|
||
|
then
|
||
|
echo -e "[flash]" > ~/.huludesktop
|
||
|
echo -e "flash_location = `find ${PREFIX}/lib/npapi \
|
||
|
-type f -name libflashplayer.so`" >> ~/.huludesktop
|
||
|
fi
|
||
|
|
||
|
${PREFIX}/libexec/huludesktop.bin &
|