1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-24 21:15:55 +02:00

Fixed nlove-run so it won't keep redownloading

This commit is contained in:
bartbes 2011-02-13 17:55:24 +01:00
parent 8dca631d66
commit e901f0fc8d

View File

@ -5,7 +5,7 @@ if [ $# -lt 1 ]; then
exit 1
fi
if [ ! -f "$HOME/.nlove/$1.love" ]; then
if [ ! -f "/usr/share/nlove/$1.love" ]; then
echo "Game not found, will now attempt to download it."
echo "This requires working internet access."
mkdir -p /usr/share/nlove > /dev/null