get-rommanager: Tell curl to follow url redirections.

Add -L flag to curl command to follow "Location: url" redirections,
as it won't follow HTTP 301/302 redirections by default.

Change-Id: I4272e1ac068094d9f9da50085de5e2a2cdf9058a
This commit is contained in:
ladios 2011-03-29 00:07:33 +08:00
parent 4a312e5fc6
commit e160c94363

View File

@ -1,2 +1,2 @@
mkdir -p `dirname $0`/proprietary mkdir -p `dirname $0`/proprietary
curl -o `dirname $0`/proprietary/RomManager.apk -O http://mirror.kanged.net/recoveries/RomManager.apk curl -o `dirname $0`/proprietary/RomManager.apk -O -L http://mirror.kanged.net/recoveries/RomManager.apk