summaryrefslogtreecommitdiffstats
path: root/chrome/installer/mac/keystone_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/mac/keystone_install.sh')
-rwxr-xr-xchrome/installer/mac/keystone_install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/installer/mac/keystone_install.sh b/chrome/installer/mac/keystone_install.sh
index b48329e..4dca1e2 100755
--- a/chrome/installer/mac/keystone_install.sh
+++ b/chrome/installer/mac/keystone_install.sh
@@ -675,8 +675,8 @@ main() {
# likely fail for another reason and the user ticket will hang around until
# something is eventually able to remove it.
if [[ -z "${system_ticket}" ]] &&
- ksadmin -S --print-tickets -P "${product_id}" >& /dev/null; then
- ksadmin --delete -P "${product_id}" || true
+ ksadmin -S --print-tickets --productid "${product_id}" >& /dev/null; then
+ ksadmin --delete --productid "${product_id}" || true
err "can't update on a user ticket when a system ticket is also present"
exit 4
fi
@@ -1061,7 +1061,7 @@ main() {
local ksadmin_args=(
--register
- -P "${product_id}"
+ --productid "${product_id}"
--version "${new_version_ks}"
--xcpath "${installed_app}"
--url "${update_url}"