From ef11ea4ded0865cce7f02f16d46f036388ffb230 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sun, 18 Sep 2016 21:14:34 +0800 Subject: buildlive: use isoinfo file to test if the distro is supported --- buildlive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildlive') diff --git a/buildlive b/buildlive index b8295f1..08bbdc4 100755 --- a/buildlive +++ b/buildlive @@ -63,11 +63,11 @@ do exit 1 ;; *) - if [ -d "distro/$1" ] + if [ -f "distro/$1/isoinfo" ] then DISTROLIST=(${DISTROLIST[@]} "$1") else - fatalerror "directory distro/$1 not found" + fatalerror "directory distro/$1/isoinfo not found" fi ;; esac -- cgit v1.2.3