[Linux] Actually install deps in arch_deps
This commit is contained in:
parent
78f588c06a
commit
cc8e45b128
@ -1,4 +1,9 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
indirect_expand() {
|
||||||
|
eval "value=\"\${$1}\""
|
||||||
|
echo $value
|
||||||
|
}
|
||||||
|
|
||||||
ESSENTIAL=(
|
ESSENTIAL=(
|
||||||
"lightdm-git" "zsh", "git" "emacs-git" "autoconf" "pkg-config" "pyenv"
|
"lightdm-git" "zsh", "git" "emacs-git" "autoconf" "pkg-config" "pyenv"
|
||||||
@ -26,3 +31,12 @@ NVIDIA=(
|
|||||||
MACBOOK=(
|
MACBOOK=(
|
||||||
"broadcom-wl-dkms" "pommed-light" "batterymon-clone"
|
"broadcom-wl-dkms" "pommed-light" "batterymon-clone"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install_deps() {
|
||||||
|
for dependency in indirect_expand "${1-ESSENTIAL}"
|
||||||
|
do
|
||||||
|
pacaur -S $dependency --noconfirm
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
install_deps "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user