mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
migrate dotfiles to chezmoi
This commit is contained in:
15
run_onchange_before_0_install-packages.sh
Normal file
15
run_onchange_before_0_install-packages.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "Installing packages"
|
||||
sudo apt update -qq
|
||||
|
||||
for package in git neovim git ripgrep; 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