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

Side by Side Diff: chrome/installer/linux/debian/postinst

Issue 674703002: Linux: Dynamically load libudev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scoped_udev
Patch Set: rebase to head, which includes third_party/libudev already Created 6 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
« no previous file with comments | « chrome/installer/linux/debian/expected_deps_x64 ('k') | chrome/installer/linux/rpm/build.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 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 set -e 7 set -e
8 8
9 @@include@@../common/postinst.include 9 @@include@@../common/postinst.include
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 /usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY 50 /usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY
51 51
52 update-alternatives --install /usr/bin/google-chrome google-chrome \ 52 update-alternatives --install /usr/bin/google-chrome google-chrome \
53 /usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY 53 /usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY
54 54
55 @@include@@../common/apt.include 55 @@include@@../common/apt.include
56 56
57 @@include@@../common/symlinks.include 57 @@include@@../common/symlinks.include
58 58
59 remove_udev_symlinks 59 remove_udev_symlinks
60 add_udev_symlinks
61 60
62 ## MAIN ## 61 ## MAIN ##
63 if [ ! -e "$DEFAULTS_FILE" ]; then 62 if [ ! -e "$DEFAULTS_FILE" ]; then
64 echo 'repo_add_once="true"' > "$DEFAULTS_FILE" 63 echo 'repo_add_once="true"' > "$DEFAULTS_FILE"
65 echo 'repo_reenable_on_distupgrade="true"' >> "$DEFAULTS_FILE" 64 echo 'repo_reenable_on_distupgrade="true"' >> "$DEFAULTS_FILE"
66 fi 65 fi
67 66
68 # Run the cron job immediately to perform repository configuration. 67 # Run the cron job immediately to perform repository configuration.
69 nohup sh /etc/cron.daily/@@PACKAGE@@ > /dev/null 2>&1 & 68 nohup sh /etc/cron.daily/@@PACKAGE@@ > /dev/null 2>&1 &
OLDNEW
« no previous file with comments | « chrome/installer/linux/debian/expected_deps_x64 ('k') | chrome/installer/linux/rpm/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698