arch_requirements.sh 239 B

1234567891011
  1. # !/bin/bash
  2. input="./requirements.txt"
  3. while IFS= read -r line
  4. do
  5. pacman -S --noconfirm python-"${line,,}"
  6. if [ $? -ne 0 ]; then
  7. yay -S --noconfirm python-"${line,,}"
  8. # echo "Could not create file" >&2
  9. fi
  10. done < "$input"