You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
521 B
27 lines
521 B
2 years ago
|
#!/bin/bash
|
||
|
|
||
|
dotfiles=$1
|
||
|
|
||
|
scripts=$dotfiles/scripts
|
||
|
|
||
|
if command -v yay &>/dev/null; then
|
||
|
echo "Yay is already installed, proceeding"
|
||
|
else
|
||
|
echo "Installing yay..."
|
||
|
$scripts/install/yay
|
||
|
fi
|
||
|
|
||
|
packages=$dotfiles/packages
|
||
|
|
||
|
echo "Installing utils..."
|
||
|
utils=$packages/utils/arch
|
||
|
packages_list=$(sed '/^$|^#/d' $utils)
|
||
|
|
||
|
yay -S --needed --noconfirm $packages_list
|
||
|
|
||
|
echo "Installing applications"
|
||
|
applications=$packages/applications/arch
|
||
|
packages_list=$(sed '/^$|^#/d' $applications)
|
||
|
|
||
|
yay -S --needed --noconfirm $packages_list
|