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

Side by Side Diff: chrome_linux/installer/debian/postinst

Issue 42163002: Roll Linux reference build to official build 31.0.1650.34 (trunk r224845, branch r230433) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/reference_builds/
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « chrome_linux/installer/debian/expected_deps ('k') | chrome_linux/installer/debian/prerm » ('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 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 @@include@@../common/postinst.include 7 @@include@@../common/postinst.include
8 8
9 # Add to the alternatives system 9 # Add to the alternatives system
10 # 10 #
(...skipping 25 matching lines...) Expand all
36 unstable ) 36 unstable )
37 # Unstable, give it the "lowest" priority. 37 # Unstable, give it the "lowest" priority.
38 PRIORITY=120 38 PRIORITY=120
39 ;; 39 ;;
40 * ) 40 * )
41 PRIORITY=0 41 PRIORITY=0
42 ;; 42 ;;
43 esac 43 esac
44 44
45 update-alternatives --install /usr/bin/x-www-browser x-www-browser \ 45 update-alternatives --install /usr/bin/x-www-browser x-www-browser \
46 /usr/bin/@@PACKAGE@@ $PRIORITY 46 /usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY
47 update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser \ 47 update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser \
48 /usr/bin/@@PACKAGE@@ $PRIORITY 48 /usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY
49
50 update-alternatives --install /usr/bin/google-chrome google-chrome \
51 /usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY
49 52
50 @@include@@../common/apt.include 53 @@include@@../common/apt.include
51 54
52 @@include@@../common/symlinks.include 55 @@include@@../common/symlinks.include
53 56
54 remove_udev_symlinks 57 remove_udev_symlinks
55 add_udev_symlinks 58 add_udev_symlinks
56 59
57 ## MAIN ## 60 ## MAIN ##
58 if [ ! -e "$DEFAULTS_FILE" ]; then 61 if [ ! -e "$DEFAULTS_FILE" ]; then
59 echo 'repo_add_once="true"' > "$DEFAULTS_FILE" 62 echo 'repo_add_once="true"' > "$DEFAULTS_FILE"
60 echo 'repo_reenable_on_distupgrade="true"' >> "$DEFAULTS_FILE" 63 echo 'repo_reenable_on_distupgrade="true"' >> "$DEFAULTS_FILE"
61 fi 64 fi
62 65
63 # Run the cron job immediately to perform repository configuration. 66 # Run the cron job immediately to perform repository configuration.
64 nohup sh /etc/cron.daily/@@PACKAGE@@ > /dev/null 2>&1 & 67 nohup sh /etc/cron.daily/@@PACKAGE@@ > /dev/null 2>&1 &
OLDNEW
« no previous file with comments | « chrome_linux/installer/debian/expected_deps ('k') | chrome_linux/installer/debian/prerm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698