yadm bootstrap

This commit is contained in:
2025-04-27 04:19:14 +02:00
parent 50539b56ef
commit de1618a98a
2 changed files with 53 additions and 0 deletions

19
.config/yadm/bootstrap Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
sudo pacman -S base-devel git --needed --noconfirm
if ! command -v paru &> /dev/null; then
echo "Installing paru..."
TEMP_DIR=`mktemp -d`
git clone https://aur.archlinux.org/paru.git $TEMP_DIR/paru
cd $TEMP_DIR/paru
makepkg -si --noconfirm
fi
sudo -v
paru -S --noconfirm --needed - < ./data/packages.txt
sudo chsh -s /bin/fish $USER