removed-files.in (3475B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 # The removed-files.in file specifies files and directories to be removed during 6 # an application update that are not automatically removed by the application 7 # update process. The application update process handles the vast majority of 8 # file and directory removals automatically so this file should not be used in 9 # the vast majority of cases. 10 11 # When to use removed-files.in file to remove files and directories: 12 # * Empty directories that were accidentally added to the installation 13 # directory. 14 # * Files and directories that were added to the installation directory after 15 # the build was completed (typically third party files). Under normal 16 # circumstances this should only be done after release drivers have approved 17 # the removal of these third party files. 18 19 # If you are not sure whether a file or directory should be removed using the 20 # removed-files.in file please contact a developer that works on application 21 # update. 22 23 # Note: the "distribution/" and "browser/extensions/" directories should never 24 # be removed recursively since these directories are used by Partner builds and 25 # custom installations. 26 27 # To specify a file to be removed add the path to the file. 28 # * If the file doesn't exist the update will succeed. 29 # * If the file exists and can't be removed (e.g. the file is locked) the 30 # update will fail. 31 # 32 # Example: path/to/file 33 34 # To specify a directory to be removed only if it is empty add the path to the 35 # directory with a trailing forward slash. 36 # * If the directory doesn't exist the update will succeed. 37 # * If the directory can't be removed (e.g. the directory is locked, contains 38 # files, etc.) the update will succeed. 39 # 40 # Example: path/to/dir/ 41 42 # To specify a directory that should be recursively removed add the path to the 43 # directory with a trailing forward slash and "*". 44 # * If the directory doesn't exist the update will succeed. 45 # * If all of the files the directory contains can be removed but the directory 46 # or a subdirectory can't be removed (e.g. the directory is locked) the update 47 # will succeed. 48 # * If a file within the directory can't be removed the update will fail. 49 # 50 # Example: path/to/dir/* 51 52 # Due to Apple Mac OS X packaging requirements files that are in the same 53 # directory on other platforms must be located in different directories on 54 # Mac OS X. The following defines allow specifying the Mac OS X bundle 55 # location and will use an empty string on other platforms. 56 # 57 # @DIR_MACOS@ 58 # Equals Contents/MacOS/ on Mac OS X and is an empty string on other platforms. 59 # 60 # @DIR_RESOURCES@ 61 # Equals Contents/Resources/ on Mac OS X and is an empty string on other 62 # platforms. 63 64 # An update watershed was required to update to Firefox 56 for LZMA and SHA384 65 # support. This made it possible to delete all of the removal instructions in 66 # this file. 67 68 # Remove the toplevel chrome.manifest added by bug 1295542. 69 #ifndef MOZ_GTK 70 @DIR_MACOS@chrome.manifest 71 #ifdef XP_MACOSX 72 @DIR_RESOURCES@chrome.manifest 73 #endif 74 #endif 75 76 # channel-prefs.js has been removed on macOS. 77 #ifdef XP_MACOSX 78 @DIR_RESOURCES@defaults/pref/channel-prefs.js 79 @DIR_RESOURCES@defaults/pref/ 80 @DIR_RESOURCES@defaults/ 81 #endif 82 83 # update-settings.ini has been removed on macOS. 84 #ifdef XP_MACOSX 85 @DIR_RESOURCES@update-settings.ini 86 #endif