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

Unified Diff: chrome/installer/linux/debian/postinst

Issue 2107893004: Support relocatable RPM packages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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 side-by-side diff with in-line comments
Download patch
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"

Powered by Google App Engine
This is Rietveld 408576698