This commit is contained in:
Nathan Dwarshuis 2021-03-13 20:50:37 -05:00
parent ca0ac5b5df
commit b8a321326d
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ run_yay() {
pacman --needed -S emacs pacman --needed -S emacs
IFS=' ' read -r -a emacs_pkgs \ IFS=' ' read -r -a emacs_pkgs \
< <(emacs -batch -l "$emacs_dir/init.el" --eval \ < <(emacs -batch -l "$emacs_dir/init.el" --eval \
'(print (format "phgs: %s" (s-join " " (nd/get-aur-dependencies t))))' \ '(print (format "pkgs: %s" (s-join " " (nd/get-aur-dependencies t))))' \
2>/dev/null \ 2>/dev/null \
sed -n -e 's/"pkgs: \(.*\)"/\1/p') sed -n -e 's/"pkgs: \(.*\)"/\1/p')
echo "Emacs requires the following system pkgs: ${emacs_pkgs[*]}" echo "Emacs requires the following system pkgs: ${emacs_pkgs[*]}"