OLD | NEW |
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 Loading... |
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 & |
OLD | NEW |