mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 14:05:29 +00:00
feat: add machineClass and ssh config
This commit is contained in:
16
run_onchange_before_01_install-packages.sh
Normal file
16
run_onchange_before_01_install-packages.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
echo "Installing packages"
|
||||
echo "Updating sources..."
|
||||
sudo apt update -qq
|
||||
|
||||
for package in zsh xsel unzip git git-extras neovim git ripgrep pipx age; do
|
||||
if dpkg -s "$package" >/dev/null 2>&1; then
|
||||
echo $package is already installed.
|
||||
else
|
||||
echo Installing $package ...
|
||||
sudo apt install -y $package
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user