Skip to content

Commit

Permalink
refactor: improve setup debian
Browse files Browse the repository at this point in the history
  • Loading branch information
septs committed Jun 21, 2024
1 parent 120c880 commit 7347dfe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/setup-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ set -xeuo pipefail
export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical

apt-get -qq update
apt-get -qq install -y build-essential libpcsclite-dev libcurl4-openssl-dev zip
alias apt='apt-get -qq -o=Dpkg::Use-Pty=0'

apt update
apt install -y build-essential libpcsclite-dev libcurl4-openssl-dev zip

case "${1:-}" in
mingw)
apt-get -qq install gcc-mingw-w64 g++-mingw-w64
apt-get install gcc-mingw-w64 g++-mingw-w64
;;
esac

0 comments on commit 7347dfe

Please sign in to comment.