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

Unified Diff: chrome/installer/linux/common/google-chrome/google-chrome.info

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/common/google-chrome/google-chrome.info
diff --git a/chrome/installer/linux/common/google-chrome/google-chrome.info b/chrome/installer/linux/common/google-chrome/google-chrome.info
index 28cd2e2542d52d923ee3182a56d690bddb8ca2c9..2d99b9908e8a5c2453b0ae596c0acdd1b79f054b 100644
--- a/chrome/installer/linux/common/google-chrome/google-chrome.info
+++ b/chrome/installer/linux/common/google-chrome/google-chrome.info
@@ -11,8 +11,11 @@ PACKAGE="google-chrome"
# Filename of the main executable (for generating launcher scripts, etc.)
PROGNAME=chrome
+# Relocatable part of base directory for package installation.
+INSTALLDIRPREFIX=/opt
+
# Base directory for package installation.
-INSTALLDIR=/opt/google/chrome
+INSTALLDIR="${INSTALLDIRPREFIX}"/google/chrome
# Display string for desktop menu/icon.
MENUNAME="Google Chrome"

Powered by Google App Engine
This is Rietveld 408576698