diff options
author | Iru Cai <mytbk920423@gmail.com> | 2016-09-18 21:14:34 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2016-09-18 21:16:53 +0800 |
commit | ef11ea4ded0865cce7f02f16d46f036388ffb230 (patch) | |
tree | 29bbe84e1e2ff589f917fd4a24e20306e3064464 /buildlive | |
parent | a2da39387bd9ee2d5c1da28257463490d7311a00 (diff) | |
download | liveusb-builder-ef11ea4ded0865cce7f02f16d46f036388ffb230.tar.xz |
buildlive: use isoinfo file to test if the distro is supported
Diffstat (limited to 'buildlive')
-rwxr-xr-x | buildlive | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |