Commit b58577c 1 parent 352eb11 commit b58577c Copy full SHA for b58577c
File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ test "${CUSTOM_VARIABLE_1}" = 'FIR$T-CUSTOM_'\''STRING'\'' WITH SPACES AND @*! "
21
21
# shellcheck disable=SC2016 # String interpolation disabling is deliberate
22
22
test " ${CUSTOM_VARIABLE_2} " = ' $ECOND-CUSTOM_' \' ' STRING' \' ' WITH SPACES AND @*! "CHARACTERS"'
23
23
24
+ if [[ " ${INSTALLER_TYPE} " == " SH" ]]; then
25
+ test " ${INSTALLER_UNATTENDED} " = " 1"
26
+ fi
27
+
24
28
if [[ $( uname -s) == Linux ]]; then
25
29
if [[ ${INSTALLER_PLAT} != linux-* ]]; then
26
30
exit 1
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ if not "%INSTALLER_NAME%" == "Scripts" exit 1
2
2
if not " %INSTALLER_VER% " == " X" exit 1
3
3
if not " %INSTALLER_PLAT% " == " win-64" exit 1
4
4
if not " %INSTALLER_TYPE% " == " EXE" exit 1
5
- if " %INSTALLER_UNATTENDED% " == " " exit 1
5
+ if not " %INSTALLER_UNATTENDED% " == " 1 " exit 1
6
6
if " %PREFIX% " == " " exit 1
7
7
if not " %CUSTOM_VARIABLE_1% " == " FIR$T-CUSTOM_STRING WITH SPACES AND @*! CHARACTERS" exit 1
8
8
if not " %CUSTOM_VARIABLE_2% " == " $ECOND-CUSTOM_STRING WITH SPACES AND @*! CHARACTERS" exit 1
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ test "${CUSTOM_VARIABLE_1}" = 'FIR$T-CUSTOM_'\''STRING'\'' WITH SPACES AND @*! "
18
18
# shellcheck disable=SC2016 # String interpolation disabling is deliberate
19
19
test " ${CUSTOM_VARIABLE_2} " = ' $ECOND-CUSTOM_' \' ' STRING' \' ' WITH SPACES AND @*! "CHARACTERS"'
20
20
21
+ if [[ " ${INSTALLER_TYPE} " == " SH" ]]; then
22
+ test " ${INSTALLER_UNATTENDED} " = " 1"
23
+ fi
24
+
21
25
if [[ $( uname -s) == Linux ]]; then
22
26
if [[ ${INSTALLER_PLAT} != linux-* ]]; then
23
27
exit 1
You can’t perform that action at this time.
0 commit comments