• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

external/koush/Superuser


Commit MetaInfo

修訂0cb0e4c0f416c1f7c9b8841faeff4c04635d7e5a (tree)
時間2013-07-30 13:41:52
作者Koushik Dutta <koushd@gmai...>
CommiterKoushik Dutta

Log Message

fix 4.3 check logic

Change-Id: Id87a853cdc20062e73b0f86786dd9b5d0b83b111

Change Summary

差異

--- a/Superuser/assets/update-binary
+++ b/Superuser/assets/update-binary
@@ -55,8 +55,10 @@ chmod 644 /system/app/Superuser.apk
5555 # let's try to install it using install-recovery.sh
5656 BUILD_RELEASE_VERSION=$(cat /system/build.prop | grep ro\\.build\\.version\\.release)
5757 IS_43=$(echo $BUILD_RELEASE_VERSION | grep 4\\.3)
58-if [ -z "$IS_43" -o "$IS_43" \> "4.3" -o "$IS_43" == "4.3" ]
58+if [ ! -z "$IS_43" ]
5959 then
60+ if [ -o "$IS_43" \> "4.3" -o "$IS_43" == "4.3" ]
61+ then
6062 # check for rom su daemon before clobbering install-recovery.sh
6163 if [ ! -f "/system/etc/.has_su_daemon" ]
6264 then
@@ -69,6 +71,7 @@ then
6971 # the install-recovery.sh execute bit.
7072 touch /system/etc/.installed_su_daemon
7173 fi
74+ fi
7275 fi
7376
7477 umount /system
\ No newline at end of file