Skip to content

Commit 32010bc

Browse files
committed
Skip PS modules if asked to skip packages
1 parent a162e12 commit 32010bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

linux/bootstrap_linux2.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ while [ "$1" != "" ]; do
66
case $1 in
77
--skip-packages) shift
88
INSTALL_PACKAGES='false'
9+
COMMON_SETUP_ARGS="-NoPackages"
910
;;
1011
* ) echo "Invalid argument: $1"
1112
exit 1
@@ -135,7 +136,7 @@ if test ! $(which pwsh); then
135136
echo $'\nPowerShell Core (pwsh) not found, skipping setup'
136137
else
137138
echo $'\nSetting up PowerShell Core...'
138-
pwsh -nop -file $SCRIPT_PATH/../common/common_setup.ps1
139+
pwsh -nop -file $SCRIPT_PATH/../common/common_setup.ps1 $COMMON_SETUP_ARGS
139140
fi
140141

141142
# Set up terraform with tfenv

0 commit comments

Comments
 (0)