Commit 5742a34 1 parent 7cdb7d3 commit 5742a34 Copy full SHA for 5742a34
File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,18 @@ if [[ -v WHITELIST_FILE ]]; then
77
77
fi
78
78
if [[ -v WHITELIST ]]; then
79
79
args=()
80
- if isTrue " ${APPEND_WHITELIST:- false} " || isFalse " ${OVERRIDE_WHITELIST:- true} " ; then
81
- args+=(--append-only)
82
- fi
83
80
existing=" $EXISTING_WHITELIST_FILE "
84
81
if [[ " $EXISTING_WHITELIST_FILE " = SYNC_FILE_MERGE_LIST ]]; then
85
82
existing=MERGE
86
83
fi
84
+ # legacy option
85
+ if [[ -v APPEND_WHITELIST ]] && isTrue " ${APPEND_WHITELIST} " ; then
86
+ existing=MERGE
87
+ fi
88
+ # legacy option
89
+ if [[ -v OVERRIDE_WHITELIST ]] && isFalse " ${OVERRIDE_WHITELIST} " ; then
90
+ existing=SKIP
91
+ fi
87
92
# shellcheck disable=SC2086
88
93
mc-image-helper manage-users \
89
94
" ${sharedArgs[@]} " " ${args[@]} " \
You can’t perform that action at this time.
0 commit comments