Skip to content

Commit

Permalink
Merge pull request akhilnarang#167 from iKeramat/master
Browse files Browse the repository at this point in the history
setup: debian: Add support for Debian 11
  • Loading branch information
akhilnarang authored Oct 1, 2021
2 parents 087cb6d + 38f1345 commit b10bb0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup/android_build_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LATEST_MAKE_VERSION="4.3"
UBUNTU_16_PACKAGES="libesd0-dev"
UBUNTU_20_PACKAGES="libncurses5 curl python-is-python3"
DEBIAN_10_PACKAGES="libncurses5"
DEBIAN_11_PACKAGES="libncurses5"
PACKAGES=""

echo "Adding GitHub apt key and repository!"
Expand All @@ -29,6 +30,8 @@ elif [[ ${LSB_RELEASE} =~ "Ubuntu 20" || ${LSB_RELEASE} =~ "Ubuntu 21" ]]; then
PACKAGES="${UBUNTU_20_PACKAGES}"
elif [[ ${LSB_RELEASE} =~ "Debian GNU/Linux 10" ]]; then
PACKAGES="${DEBIAN_10_PACKAGES}"
elif [[ ${LSB_RELEASE} =~ "Debian GNU/Linux 11" ]]; then
PACKAGES="${DEBIAN_11_PACKAGES}"
fi

sudo DEBIAN_FRONTEND=noninteractive \
Expand Down

0 comments on commit b10bb0f

Please sign in to comment.