From e5cbf1e99cb60397fdd0e4c00626f0a2dd9c58b0 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 9 Dec 2014 17:46:47 +0100 Subject: Add archiso check --- liveusb/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/liveusb/build.sh b/liveusb/build.sh index ba3d3fe..850e002 100755 --- a/liveusb/build.sh +++ b/liveusb/build.sh @@ -119,6 +119,11 @@ if [[ ${arch} != x86_64 ]]; then echo "This script needs to be run on x86_64" _usage 1 fi +if [[ $(pacman -Q archiso) -ne 0 ]]; then + echo "This script requires archiso(-git) to be installed" + _usage 1 +fi + while getopts 'th' arg; do case "${arg}" in -- cgit v1.3.1