Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(759)

Side by Side Diff: chrome/installer/mac/keystone_install.sh

Issue 2417007: [Mac] packaging process cleanup: Net of this is the zip off the official buil... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Called by the Keystone system to update the installed application with a new 7 # Called by the Keystone system to update the installed application with a new
8 # version from a disk image. 8 # version from a disk image.
9 9
10 # Return values: 10 # Return values:
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 ([ ${OS_MAJOR} -eq 10 ] && [ ${OS_MINOR} -ge 6 ]) ; then 654 ([ ${OS_MAJOR} -eq 10 ] && [ ${OS_MINOR} -ge 6 ]) ; then
655 # On 10.6, xattr supports -r for recursive operation. 655 # On 10.6, xattr supports -r for recursive operation.
656 xattr -d -r "${QUARANTINE_ATTR}" "${DEST}" >& /dev/null 656 xattr -d -r "${QUARANTINE_ATTR}" "${DEST}" >& /dev/null
657 else 657 else
658 # On earlier systems, xattr doesn't support -r, so run xattr via find. 658 # On earlier systems, xattr doesn't support -r, so run xattr via find.
659 find "${DEST}" -exec xattr -d "${QUARANTINE_ATTR}" {} + >& /dev/null 659 find "${DEST}" -exec xattr -d "${QUARANTINE_ATTR}" {} + >& /dev/null
660 fi 660 fi
661 661
662 # Great success! 662 # Great success!
663 exit 0 663 exit 0
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698