updated install_appveyor_byoc.sh

pull/2/head
Hari Sekhon 5 years ago
parent aca1e05bdd
commit 53aef9fd69

@ -25,14 +25,14 @@ if ! type -P pwsh &>/dev/null; then
"$srcdir/install_powershell.sh"
fi
# leading whitespace break PowerShell commands
pwsh << EOF
Install-Module AppVeyorBYOC -Scope CurrentUser -Force; Import-Module AppVeyorBYOC
EOF
# AppVeyor host dependencies
# sysvinit-tools on RHEL, but appveyor byoc looks for dpkg so is probably only compatible with debian based distributions
if grep -Eiq 'debian|ubuntu' /etc/*release; then
apt-get update
apt-get install -y libcap2-bin libterm-ui-perl sudo sysvinit-utils
fi
# leading whitespace break PowerShell commands
pwsh << EOF
Install-Module AppVeyorBYOC -Scope CurrentUser -Force; Import-Module AppVeyorBYOC
EOF

Loading…
Cancel
Save