Adding grunell@ as owner of chrome/browser/resources/hangout_services.
[chromium-blink-merge.git] / remoting / tools / get_mac_crd_version.sh
blob89661c19afad27b5c231265dfa91cbb2022909a8
1 #!/bin/sh
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
7 ME2ME_HOST="/Library/PrivilegedHelperTools/ChromeRemoteDesktopHost.bundle"
8 UNINSTALLER_CHROME="/Applications/Chrome Remote Desktop Host Uninstaller.app"
9 UNINSTALLER_CHROMIUM="/Applications/Chromoting Host Uninstaller.app"
10 PREFPANE="/Library/PreferencePanes/ChromeRemoteDesktop.prefPane"
11 KEYSTONE="/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle"
13 INFO_PLIST="Contents/Info.plist"
15 set -e -u
17 function print_plist_version {
18 local name="${1}"
19 local file="${2}"
20 if [[ -e "${file}/${INFO_PLIST}" ]]; then
21 set `PlistBuddy -c 'Print CFBundleVersion' "${file}/${INFO_PLIST}"`
22 echo "${name}: version = ${1}"
23 else
24 echo "${name}: plist doesn't exist"
28 print_plist_version "Me2me host" "${ME2ME_HOST}"
29 print_plist_version "Chrome Remote Desktop Host Uninstaller" "${UNINSTALLER_CHROME}"
30 print_plist_version "Chromoting Host Uninstaller" "${UNINSTALLER_CHROMIUM}"
31 print_plist_version "PreferencePane" "${PREFPANE}"
32 print_plist_version "Keystone" "${KEYSTONE}"