config/scripts/install-dependencies

20 lines
574 B
Bash
Executable File

#!/bin/sh
default_programs="/default-programs"
dependencies=$(cat $HOME/$default_programs)
for dependency in $dependencies
do
if ! command -v $dependency &> /dev/null; then
yay -Sy --noconfirm $dependency
fi
break
done
# notify about steam issue
# echo "There are a few programs that can't be automatically installed. The main one of these is Steam which requires multilib to be enabled. Instructions for this can be found at: https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib Once this is done steam can be installed."