1
0
Fork 0

Skip if no packages to install
continuous-integration/drone/push Build is failing Details

main
Ambrose Chua 2021-03-17 15:43:44 +08:00 committed by GitHub
parent f6b6dcb504
commit 868c96386c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ packages_add() {
packages="$packages $@"
}
packages_install() {
if [ -z "$packages" ]; then
return
fi
case $ID in
macos)
brew install --formulae $packages