Skip to content

Commit

Permalink
setup: debian: Add support for Debian 11
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Hasan Keramat J <[email protected]>
  • Loading branch information
iKeramat committed Aug 31, 2021
1 parent 087cb6d commit 38f1345
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 38f1345

Please sign in to comment.