From bce32de9b73d7ff2d1120ada9c32d9fd022787a8 Mon Sep 17 00:00:00 2001 From: Kim Date: Wed, 10 Apr 2019 11:32:45 +0200 Subject: T1329: support installation on SD cards fix --- scripts/install/install-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install/install-functions') diff --git a/scripts/install/install-functions b/scripts/install/install-functions index 56856c8c..46938aeb 100755 --- a/scripts/install/install-functions +++ b/scripts/install/install-functions @@ -176,7 +176,7 @@ select_drive () { # the first grep pattern looks for devices named c0d0, hda, and sda. drives=$(cat /proc/partitions | \ awk '{ if ($4!="name") { print $4 } }' | \ - egrep "c[0-9]d[0-9]$|[hsv]d[a-z]$|nvme[0-9]n[0-9]|mmcblk[0-9]p[0-9]" | \ + egrep "c[0-9]d[0-9]$|[hsv]d[a-z]$|nvme[0-9]n[0-9]|mmcblk[0-9]" | \ egrep -v "^$") #this needs more testing to decide if better than above -- cgit v1.2.3