Index: chrome/installer/linux/debian/postinst |
diff --git a/chrome/installer/linux/debian/postinst b/chrome/installer/linux/debian/postinst |
index 7acf8b2ae03fdc5c1f67115add270b0d3caa2cf8..717e75df3bdb58edbb3762f233f782ab06e803ca 100755 |
--- a/chrome/installer/linux/debian/postinst |
+++ b/chrome/installer/linux/debian/postinst |
@@ -6,8 +6,14 @@ |
set -e |
+@@include@@../common/variables.include |
+ |
@@include@@../common/postinst.include |
+@@include@@../common/apt.include |
+ |
+@@include@@../common/symlinks.include |
+ |
# Add to the alternatives system |
# |
# On Ubuntu 12.04, we have the following priorities |
@@ -44,6 +50,11 @@ case $CHANNEL in |
;; |
esac |
+remove_chrome_symlinks |
+add_chrome_symlinks |
+ |
+remove_udev_symlinks |
+ |
update-alternatives --install /usr/bin/x-www-browser x-www-browser \ |
/usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY |
update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser \ |
@@ -52,12 +63,6 @@ update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser \ |
update-alternatives --install /usr/bin/google-chrome google-chrome \ |
/usr/bin/@@USR_BIN_SYMLINK_NAME@@ $PRIORITY |
-@@include@@../common/apt.include |
- |
-@@include@@../common/symlinks.include |
- |
-remove_udev_symlinks |
- |
## MAIN ## |
if [ ! -e "$DEFAULTS_FILE" ]; then |
echo 'repo_add_once="true"' > "$DEFAULTS_FILE" |