notes/scripts/install_binaries.sh
2022-10-18 02:09:05 -07:00

13 lines
293 B
Bash
Executable file

#!/bin/bash
# this script will reinstall all packages fed to it from a file with one package per line
#
# tr '\ ' ' ' < input_file > output_file
#
#
for i in $( < output_file ) ; do
if ! (pacman -Q | grep "${i}" > /dev/null)
then
sudo pacman -S "${i}" --noconfirm
fi
done