Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(linux): Install python3-dev #11296

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions linux/scripts/package-build.inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,19 @@ function checkAndInstallRequirements()
{
local TOINSTALL=""

for p in devscripts equivs
for p in devscripts equivs python3-dev
do
if ! dpkg -s $p >/dev/null 2>&1; then
TOINSTALL="$TOINSTALL $p"
if ! dpkg -s "${p}" >/dev/null 2>&1; then
TOINSTALL="${TOINSTALL} ${p}"
fi
done

export DEBIAN_FRONTEND=noninteractive

if [ -n "$TOINSTALL" ]; then
if [[ -n "${TOINSTALL}" ]]; then
wait_for_apt_deb && sudo apt-get update
# shellcheck disable=SC2086
wait_for_apt_deb && sudo apt-get -qy install $TOINSTALL
wait_for_apt_deb && sudo apt-get -qy install ${TOINSTALL}
fi

sudo mk-build-deps debian/control
Expand Down
Loading