summaryrefslogtreecommitdiff
path: root/liveusb/build.sh
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-12-09 17:46:47 +0100
committerYuval Adam <yuv.adm@gmail.com>2014-12-09 17:46:47 +0100
commite5cbf1e99cb60397fdd0e4c00626f0a2dd9c58b0 (patch)
treea2b545498547ffd4e8a88e7475e142f1ac5defe8 /liveusb/build.sh
parent835370ff8ccfa034e8abfbe7e8274e2ce125fbd5 (diff)
Add archiso check
Diffstat (limited to 'liveusb/build.sh')
-rwxr-xr-xliveusb/build.sh5
1 files changed, 5 insertions, 0 deletions
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