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

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

Issue 2299093002: Revert of Support relocatable RPM packages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/installer.include ('k') | chrome/installer/linux/common/prerm.include » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/linux/common/postinst.include
diff --git a/chrome/installer/linux/common/postinst.include b/chrome/installer/linux/common/postinst.include
index 40e690908b836346924d988515a2441cc04bd0f5..c659d9a5150a1f1ac9175d27270b289dca589450 100644
--- a/chrome/installer/linux/common/postinst.include
+++ b/chrome/installer/linux/common/postinst.include
@@ -4,7 +4,7 @@
echo "Error: Could not find xdg-icon-resource" >&2
exit 1
fi
-for icon in "${INSTALLDIR}/product_logo_"*.png; do
+for icon in "@@INSTALLDIR@@/product_logo_"*.png; do
size="${icon##*/product_logo_}"
"$XDG_ICON_RESOURCE" install --size "${size%.png}" "$icon" "@@PACKAGE@@"
done
@@ -74,5 +74,5 @@
fgrep -q "@@MENUNAME@@" "$GNOME_DFL_APPS" || insert_after_first_match \
"$GNOME_DFL_APPS" \
"^[ ]*<web-browsers>[ ]*$" \
- "${INSTALLDIR}/default-app-block"
+ "@@INSTALLDIR@@/default-app-block"
fi
« no previous file with comments | « chrome/installer/linux/common/installer.include ('k') | chrome/installer/linux/common/prerm.include » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698