Skip to content
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
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1139,27 +1139,27 @@ then

if [[ -x "$(command -v apt-get)" ]]
then
echo " sudo apt-get install build-essential"
echo " sudo apt-get install build-essential bubblewrap"
elif [[ -x "$(command -v dnf)" ]]
then
# Fedora uses the lowercase `development-tools` group id; most other
# dnf-based distros use the `Development Tools` name instead.
# shellcheck disable=SC1091
if [[ -r /etc/os-release ]] && (. /etc/os-release && [[ "${ID:-}" == "fedora" ]])
then
echo " sudo dnf group install development-tools"
echo " sudo dnf group install development-tools && sudo dnf install bubblewrap"
else
echo " sudo dnf group install 'Development Tools'"
echo " sudo dnf group install 'Development Tools' && sudo dnf install bubblewrap"
fi
elif [[ -x "$(command -v yum)" ]]
then
echo " sudo yum groupinstall 'Development Tools'"
echo " sudo yum groupinstall 'Development Tools' && sudo yum install bubblewrap"
elif [[ -x "$(command -v pacman)" ]]
then
echo " sudo pacman -S base-devel"
echo " sudo pacman -S base-devel bubblewrap"
elif [[ -x "$(command -v apk)" ]]
then
echo " sudo apk add build-base"
echo " sudo apk add build-base bubblewrap"
fi

cat <<EOS
Expand Down
Loading