mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add check on any directory on media
This commit is contained in:
parent
69c7ca338a
commit
4e1f88083e
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ getuuid()
|
|||
# Check media on install packages
|
||||
check_media() {
|
||||
! [ "$(cat /proc/mounts | grep /dev/$dev)" ] && mount /dev/$dev $media >/dev/null 2>&1
|
||||
if [ -d $media/core-$(uname -m)/pkg ]; then
|
||||
if [ -d $media/core-$(uname -m)/pkg -a -d $media/core-any/pkg ]; then
|
||||
SET_MEDIA=1
|
||||
break
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue