Skip to content

Commit

Permalink
fix: group ensured packages in bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
koterpillar committed Aug 12, 2024
1 parent 96f8877 commit 3dd1098
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,26 @@ case "$OSTYPE" in
then
sudo_ apt update
fi

ensure curl
ensure git
ensure sudo
ensure python3 python3{,-venv}
ensure pip python3-pip
ensure unzip
;;
fedora)
INSTALLER=(sudo_ dnf install --assumeyes)
;;
esac

ensure git
ensure pip python3-pip
ensure bzip2
ensure xz
ensure unzip
ensure curl
ensure git
ensure sudo
ensure bzip2
ensure unzip

case $DISTRO in
debian|ubuntu)
ensure python3 python3{,-venv}
ensure xz xz-utils
;;
fedora)
ensure chsh util-linux-user
ensure xz
;;
esac
;;
Expand Down

0 comments on commit 3dd1098

Please sign in to comment.