mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Followup for Bug 900251 - remove check for extra channel-prefs.js and update-settings.ini files in the mar generation scripts. r=nthomas
This commit is contained in:
parent
3d07d638ad
commit
5e5eb44e3a
@ -235,17 +235,6 @@ for ((i=0; $i<$num_newfiles; i=$i+1)); do
|
||||
copy_perm "$newdir/$f" "$workdir/$f"
|
||||
|
||||
if check_for_add_if_not_update "$f"; then
|
||||
# Raise an exception if a new channel-prefs.js or update-settings.ini file
|
||||
# is found to prevent it from being to a new location like happened in
|
||||
# bug 756325.
|
||||
if [ `basename $f` = "channel-prefs.js" ]; then
|
||||
notice "new channel-prefs.js file found: $f"
|
||||
exit 1
|
||||
fi
|
||||
if [ `basename $f` = "update-settings.ini" ]; then
|
||||
notice "new update-settings.ini file found: $f"
|
||||
exit 1
|
||||
fi
|
||||
make_add_if_not_instruction "$f" "$updatemanifestv3"
|
||||
else
|
||||
make_add_instruction "$f" "$updatemanifestv2" "$updatemanifestv3"
|
||||
|
@ -366,15 +366,6 @@ def create_partial_patch(from_dir_path, to_dir_path, patch_filename, shas, patch
|
||||
add_filenames.sort(reverse=True)
|
||||
for filename in add_filenames:
|
||||
if os.path.basename(filename) in add_if_not_list:
|
||||
# Raise an exception if a new channel-prefs.js or
|
||||
# update-settings.ini file is found to prevent it from being
|
||||
# to a new location like happened in bug 756325.
|
||||
if os.path.basename(filename) == 'channel-prefs.js':
|
||||
raise Exception, "new channel-prefs.js file found: "+filename
|
||||
|
||||
if os.path.basename(filename) == 'update-settings.ini':
|
||||
raise Exception, "new update-settings.ini file found: "+filename
|
||||
|
||||
create_add_if_not_patch_for_file(to_dir_hash[filename], patch_info)
|
||||
else:
|
||||
create_add_patch_for_file(to_dir_hash[filename], patch_info)
|
||||
|
Loading…
Reference in New Issue
Block a user