BMAPTOOL Check #2 update

switched second check with faster builtin tool, tested fix
This commit is contained in:
gh0stshell
2019-10-05 22:25:10 -07:00
committed by GitHub
parent 8b4350045e
commit 3bb42549f6

View File

@ -94,7 +94,7 @@ function provide_raspbian() {
function setup_raspbian(){ function setup_raspbian(){
# Detect the ability to create sparse files # Detect the ability to create sparse files
if [ "${OPT_SPARSE}" -eq 0 ]; then if [ "${OPT_SPARSE}" -eq 0 ]; then
if [ which bmaptool -eq 0 ]; then if ! type "bmaptool" > /dev/null; then
echo "[!] bmaptool not available, not creating a sparse image" echo "[!] bmaptool not available, not creating a sparse image"
else else