Bug 1568654 - Remove erroneous signature files on update on Mac. r=darktrojan a=jorgk
authorRob Lemley <rob@thunderbird.net>
Fri, 26 Jul 2019 13:48:00 -0400
changeset 36157 436d8b620b6a649522a44293bd1023fd20014508
parent 36156 6e72d79d8bcc64e9db8a6e97286370c0b6614d81
child 36158 115a0f365f77a13c20c060b7976d78689842c188
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersdarktrojan, jorgk
bugs1568654, 1471004
Bug 1568654 - Remove erroneous signature files on update on Mac. r=darktrojan a=jorgk These ._* files come from an error in the macOS signing process on the old (pre autograph bug 1471004) servers. It only affected files that were part of thunderbird.mdimporter. These files never were accounted for in the installation process, and do not get removed unless we explicitly say to remove them.
mail/installer/removed-files.in
--- a/mail/installer/removed-files.in
+++ b/mail/installer/removed-files.in
@@ -74,8 +74,17 @@
 #ifdef NIGHTLY_BUILD
 @DIR_RESOURCES@extensions/
 @DIR_RESOURCES@extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/*
 #else
 @DIR_RESOURCES@distribution/
 @DIR_RESOURCES@distribution/extensions/
 @DIR_RESOURCES@distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/*
 #endif
+
+# Remove erroneous files left over from broken Mac signing process
+#ifdef XP_MACOSX
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/_CodeSignature/._CodeResources
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/._Info.plist
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/._schema.xml
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/English.lproj/._InfoPlist.strings
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/English.lproj/._schema.strings
+#endif