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

Side by Side Diff: src/platform/chrome/debian/postinst

Issue 504060: replace - with _ in name of emit-login-prompt-ready (Closed)
Patch Set: whitespace Created 11 years 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
« no previous file with comments | « no previous file | src/scripts/build_chrome.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS 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 # postinst script for chromeos-login 7 # postinst script for chromeos-login
8 # 8 #
9 # see: dh_installdeb(1) 9 # see: dh_installdeb(1)
10 10
11 set -e 11 set -e
12 12
13 # summary of how this script can be called: 13 # summary of how this script can be called:
14 # * <postinst> `configure' <most-recently-configured-version> 14 # * <postinst> `configure' <most-recently-configured-version>
15 # * <old-postinst> `abort-upgrade' <new version> 15 # * <old-postinst> `abort-upgrade' <new version>
16 # * <conflictor's-postinst> `abort-remove' `in-favour' <package> 16 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
17 # <new-version> 17 # <new-version>
18 # * <postinst> `abort-remove' 18 # * <postinst> `abort-remove'
19 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' 19 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
20 # <failed-install-package> <version> `removing' 20 # <failed-install-package> <version> `removing'
21 # <conflicting-package> <version> 21 # <conflicting-package> <version>
22 # for details, see http://www.debian.org/doc/debian-policy/ or 22 # for details, see http://www.debian.org/doc/debian-policy/ or
23 # the debian-policy package 23 # the debian-policy package
24 24
25 25
26 case "$1" in 26 case "$1" in
27 configure) 27 configure)
28 chown root:admin /opt/google/chrome/session
29 chown root:admin /opt/google/chrome/emit-login-prompt-ready
30 chmod 6755 /opt/google/chrome/session 28 chmod 6755 /opt/google/chrome/session
31 » chmod 6755 /opt/google/chrome/emit-login-prompt-ready 29 chmod 6755 /opt/google/chrome/emit_login_prompt_ready
32 ;; 30 ;;
33 31
34 abort-upgrade|abort-remove|abort-deconfigure) 32 abort-upgrade|abort-remove|abort-deconfigure)
35 ;; 33 ;;
36 34
37 *) 35 *)
38 echo "postinst called with unknown argument \`$1'" >&2 36 echo "postinst called with unknown argument \`$1'" >&2
39 exit 1 37 exit 1
40 ;; 38 ;;
41 esac 39 esac
42 40
43 # dh_installdeb will replace this with shell code automatically 41 # dh_installdeb will replace this with shell code automatically
44 # generated by other debhelper scripts. 42 # generated by other debhelper scripts.
45 43
46 #DEBHELPER# 44 #DEBHELPER#
47 45
48 exit 0 46 exit 0
OLDNEW
« no previous file with comments | « no previous file | src/scripts/build_chrome.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698