File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 ],
1313 "default" : " latest" ,
1414 "description" : " Select or enter an AWS CLI version."
15+ },
16+ "verbose" : {
17+ "type" : " boolean" ,
18+ "default" : true ,
19+ "description" : " Suppress verbose output."
1520 }
1621 },
1722 "customizations" : {
Original file line number Diff line number Diff line change 1313rm -rf /var/lib/apt/lists/*
1414
1515VERSION=${VERSION:- " latest" }
16+ VERBOSE=${VERBOSE:- " true" }
1617
1718AWSCLI_GPG_KEY=FB5DB77FD5C118B80511ADA8A6310ACC4672475C
1819AWSCLI_GPG_KEY_MATERIAL=" -----BEGIN PGP PUBLIC KEY BLOCK-----
@@ -110,7 +111,12 @@ install() {
110111 exit 1
111112 fi
112113
113- unzip " ${scriptZipFile} "
114+ if [ " ${VERBOSE} " = " false" ]; then
115+ unzip -q " ${scriptZipFile} "
116+ else
117+ unzip " ${scriptZipFile} "
118+ fi
119+
114120 ./aws/install
115121
116122 # kubectl bash completion
You can’t perform that action at this time.
0 commit comments