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

Unified Diff: chrome/installer/linux/common/prerm.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/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 @@
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