We support many variants now

This condition is obsolete
This commit is contained in:
Igor Pečovnik
2022-12-05 12:51:42 +01:00
committed by GitHub
parent d9afa4d9f8
commit b57de1a671

View File

@@ -32,9 +32,8 @@ while true; do
# check update status of BSP packages
local mark=$(apt-mark showhold | egrep "linux|armbian")
# check if eMMC/SD is on the system
if [[ $(sed -n 's/^DEVNAME=//p' /sys/dev/block/$(mountpoint -d /)/uevent 2> /dev/null) == mmcblk* \
&& -f /usr/sbin/nand-sata-install ]]; then
# check if installer is on the system
if [[ -f /usr/sbin/armbian-install ]]; then
LIST+=( "Install" "Install to/update boot loader" )
fi