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

Unified Diff: chrome/installer/linux/common/installer.include

Issue 217493002: Add a compatibility symlink for the Google Chrome launcher script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/linux/common/installer.include
diff --git a/chrome/installer/linux/common/installer.include b/chrome/installer/linux/common/installer.include
index 616c3c4fc4f00196bb5a49dbe6d2be815900d6fa..2be82dba02148b161c888cef45ebab053005daef 100644
--- a/chrome/installer/linux/common/installer.include
+++ b/chrome/installer/linux/common/installer.include
@@ -222,6 +222,10 @@ stage_install_common() {
process_template "${BUILDDIR}/installer/common/wrapper" \
"${STAGEDIR}/${INSTALLDIR}/${PACKAGE}"
chmod 755 "${STAGEDIR}/${INSTALLDIR}/${PACKAGE}"
+ if [ ! -f "${STAGEDIR}/${INSTALLDIR}/google-chrome" ]; then
+ ln -sn "${INSTALLDIR}/${PACKAGE}" \
+ "${STAGEDIR}/${INSTALLDIR}/google-chrome"
+ fi
ln -snf "${INSTALLDIR}/${PACKAGE}" \
"${STAGEDIR}/usr/bin/${USR_BIN_SYMLINK_NAME}"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698