install_test.sh 203 B

12345678910111213
  1. #!/bin/bash
  2. function error() {
  3. echo "ERROR: $1"
  4. exit 1
  5. }
  6. echo "Start simple"
  7. ./yay -S shfmt --noconfirm || error "unable to make shfmt"
  8. ./yay -Qsq shfmt || error "unable to install shfmt"
  9. exit 0