Revision 1bb524af periphery-lld/peripherylldsetup.sh
periphery-lld/peripherylldsetup.sh | ||
---|---|---|
334 | 334 |
local peripheryllddir=$(dirname $(realpath ${BASH_SOURCE[0]})) |
335 | 335 |
local amirollddir=${peripheryllddir}/AMiRo-LLD |
336 | 336 |
|
337 |
# if the AMiRo-BLT folder is not empty
|
|
337 |
# if the AMiRo-LLD folder is not empty
|
|
338 | 338 |
if [ ! -z "$(ls -A $amirollddir)" ]; then |
339 | 339 |
printWarning "$(realpath $amirollddir) is not empty. Delete and reinitialize? [y/n]\n" |
340 | 340 |
local userinput="" |
341 | 341 |
readUserInput "YyNn" userinput |
342 | 342 |
case $userinput in |
343 | 343 |
Y|y) |
344 |
wipeAmiroBlt
|
|
344 |
wipeAmiroLld
|
|
345 | 345 |
;; |
346 | 346 |
N|n) |
347 | 347 |
printWarning "AMiRo-LLD initialization aborted by user\n" |
Also available in: Unified diff