fix: remove channel-prefs.js from add-if-not list
(cherry picked from commit b47d35f0bdebcddca941a38e6c1d832a3c8f7090)
This commit is contained in:
@@ -92,14 +92,11 @@ make_add_instruction() {
|
||||
check_for_add_if_not_update() {
|
||||
add_if_not_file_chk="$1"
|
||||
|
||||
if [[ "$(basename "$add_if_not_file_chk")" = "channel-prefs.js" || \
|
||||
"$add_if_not_file_chk" =~ (^|/)ChannelPrefs\.framework/ || \
|
||||
"$(basename "$add_if_not_file_chk")" = "update-settings.ini" || \
|
||||
"$add_if_not_file_chk" =~ (^|/)UpdateSettings\.framework/ ]]; then
|
||||
## "true"
|
||||
if [ `basename $add_if_not_file_chk` = "update-settings.ini" ]; then
|
||||
## "true" *giggle*
|
||||
return 0;
|
||||
fi
|
||||
## "false"
|
||||
## 'false'... because this is bash. Oh yay!
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user