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

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

Issue 2323513002: Revert of Support relocatable RPM packages (patchset #1 id:1 of https://codereview.chromium.org/210… (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/installer/linux/common/variables.include ('k') | chrome/installer/linux/debian/postrm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/linux/debian/postinst
diff --git a/chrome/installer/linux/debian/postinst b/chrome/installer/linux/debian/postinst
index 717e75df3bdb58edbb3762f233f782ab06e803ca..7acf8b2ae03fdc5c1f67115add270b0d3caa2cf8 100755
--- a/chrome/installer/linux/debian/postinst
+++ b/chrome/installer/linux/debian/postinst
@@ -6,14 +6,8 @@
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
@@ -50,11 +44,6 @@ 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 \
@@ -63,6 +52,12 @@ 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"
« no previous file with comments | « chrome/installer/linux/common/variables.include ('k') | chrome/installer/linux/debian/postrm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698