mirror of
https://github.com/evilsocket/pwnagotchi.git
synced 2026-01-23 02:24:15 +00:00
Merge pull request #175 from gh0stshell/master
Updated bmaptool check #2
This commit is contained in:
commit
5ad03c6e46
1 changed files with 1 additions and 2 deletions
|
|
@ -94,9 +94,8 @@ function provide_raspbian() {
|
|||
function setup_raspbian(){
|
||||
# Detect the ability to create sparse files
|
||||
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"
|
||||
|
||||
else
|
||||
echo "[+] Defaulting to sparse image generation as bmaptool is available"
|
||||
OPT_SPARSE=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue