Revert "get-rommanager: Prevent saving a broken download". Breaks buildbot on certain distros (arch?), file mimetype is incorrectly reported.
This reverts commit d55f5ad199ee86599a0278a2789f30eede48fb5f.
diff --git a/get-rommanager b/get-rommanager
index 19a0941..b452695 100755
--- a/get-rommanager
+++ b/get-rommanager
@@ -1,16 +1,2 @@
-url=http://mirrorbrain.cyanogenmod.com/cm/recoveries/RomManager.apk
-apk=RomManager.apk
-dir=`dirname $0`/proprietary
-mkdir -p $dir
-curl -Lo $dir/$apk.new $url || exit $?
-mime=`file -b --mime-type $dir/$apk.new`
-if [ "$mime" = "application/zip" ]
-then
- mv $dir/$apk.new $dir/$apk
- file --mime-type $dir/$apk
-else
- echo -n "$dir/$apk.new: "
- echo "$mime" | grep text && cat $dir/$apk.new
- rm $dir/$apk.new
- exit 1
-fi
+mkdir -p `dirname $0`/proprietary
+curl -L -o `dirname $0`/proprietary/RomManager.apk -O -L http://mirror.dal.tdrevolution.net/cm/recoveries/RomManager.apk