feat: install packages prints output

This commit is contained in:
Daniel Bauer
2026-01-14 11:05:21 +01:00
parent 4db2490d36
commit 02b86c2d28

View File

@@ -3,13 +3,14 @@
set -e
echo "Installing packages"
echo "Updating sources..."
sudo apt update -qq
for package in xsel git git-extras neovim git ripgrep; do
if dpkg -s "$package" >/dev/null 2>&1; then
echo $package is already installed.
else
echo Installing $package
echo Installing $package ...
sudo apt install -y $package
fi
done