install_pre_reqs.sh 173 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 #!/bin/bash myDIR=$(dirname $(readlink -f ${0})) grep -i "^BuildRequires:" $myDIR/*.spec \ | cut -d: -f2 \ | cut -d'>' -f1 \ | cut -d= -f1 \ | sudo xargs zypper in