summaryrefslogtreecommitdiff
path: root/buildlive
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-09-18 21:14:34 +0800
committerIru Cai <mytbk920423@gmail.com>2016-09-18 21:16:53 +0800
commitef11ea4ded0865cce7f02f16d46f036388ffb230 (patch)
tree29bbe84e1e2ff589f917fd4a24e20306e3064464 /buildlive
parenta2da39387bd9ee2d5c1da28257463490d7311a00 (diff)
downloadliveusb-builder-ef11ea4ded0865cce7f02f16d46f036388ffb230.tar.xz
buildlive: use isoinfo file to test if the distro is supported
Diffstat (limited to 'buildlive')
-rwxr-xr-xbuildlive4
1 files changed, 2 insertions, 2 deletions
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