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

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

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/postinst.include ('k') | chrome/installer/linux/common/rpm.include » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/linux/common/prerm.include
diff --git a/chrome/installer/linux/common/prerm.include b/chrome/installer/linux/common/prerm.include
index 2861bff999c6245e6d1041a29d24aa963b6db95a..5bb2c4005d7dd444e693cec135bbc485240263fa 100644
--- a/chrome/installer/linux/common/prerm.include
+++ b/chrome/installer/linux/common/prerm.include
@@ -4,7 +4,7 @@ if [ ! -x "$XDG_ICON_RESOURCE" ]; then
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" uninstall --size "${size%.png}" "@@PACKAGE@@"
done
« no previous file with comments | « chrome/installer/linux/common/postinst.include ('k') | chrome/installer/linux/common/rpm.include » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698