Commit 5b59c6bb authored by mark@chromium.org's avatar mark@chromium.org

Update keystone_install.sh after r49334.

BUG=45017
TEST=none
Review URL: http://codereview.chromium.org/2733007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49338 0039d316-1c4b-4281-b951-d872f2087c98
parent 6f5f4322
...@@ -231,7 +231,7 @@ fi ...@@ -231,7 +231,7 @@ fi
APP_VERSION_KEY="CFBundleShortVersionString" APP_VERSION_KEY="CFBundleShortVersionString"
UPD_VERSION_APP=$(defaults read "${SRC}/Contents/Info" "${APP_VERSION_KEY}" || UPD_VERSION_APP=$(defaults read "${SRC}/Contents/Info" "${APP_VERSION_KEY}" ||
exit 2) exit 2)
UPD_KS_PLIST="${SRC}/Contents/Versions/${UPD_VERSION_APP}/${FRAMEWORK_DIR}/Resources/Info" UPD_KS_PLIST="${SRC}/Contents/Info"
KS_VERSION_KEY="KSVersion" KS_VERSION_KEY="KSVersion"
UPD_VERSION_KS=$(defaults read "${UPD_KS_PLIST}" "${KS_VERSION_KEY}" || exit 2) UPD_VERSION_KS=$(defaults read "${UPD_KS_PLIST}" "${KS_VERSION_KEY}" || exit 2)
PRODUCT_ID=$(defaults read "${UPD_KS_PLIST}" KSProductID || exit 2) PRODUCT_ID=$(defaults read "${UPD_KS_PLIST}" KSProductID || exit 2)
...@@ -409,7 +409,7 @@ fi ...@@ -409,7 +409,7 @@ fi
# to get the path to the framework, where the Keystone keys are stored. # to get the path to the framework, where the Keystone keys are stored.
NEW_VERSION_APP=$(defaults read "${DEST}/Contents/Info" "${APP_VERSION_KEY}" || NEW_VERSION_APP=$(defaults read "${DEST}/Contents/Info" "${APP_VERSION_KEY}" ||
exit 9) exit 9)
NEW_KS_PLIST="${DEST}/Contents/Versions/${NEW_VERSION_APP}/${FRAMEWORK_DIR}/Resources/Info" NEW_KS_PLIST="${DEST}/Contents/Info"
NEW_VERSION_KS=$(defaults read "${NEW_KS_PLIST}" "${KS_VERSION_KEY}" || exit 9) NEW_VERSION_KS=$(defaults read "${NEW_KS_PLIST}" "${KS_VERSION_KEY}" || exit 9)
URL=$(defaults read "${NEW_KS_PLIST}" KSUpdateURL || exit 9) URL=$(defaults read "${NEW_KS_PLIST}" KSUpdateURL || exit 9)
# The channel ID is optional. Suppress stderr to prevent Keystone from seeing # The channel ID is optional. Suppress stderr to prevent Keystone from seeing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment