mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-04 23:34:04 +02:00
Fixed nlove-run so it won't keep redownloading
This commit is contained in:
parent
8dca631d66
commit
e901f0fc8d
@ -5,7 +5,7 @@ if [ $# -lt 1 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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 "Game not found, will now attempt to download it."
|
||||||
echo "This requires working internet access."
|
echo "This requires working internet access."
|
||||||
mkdir -p /usr/share/nlove > /dev/null
|
mkdir -p /usr/share/nlove > /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user