diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2014-12-09 17:46:47 +0100 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2014-12-09 17:46:47 +0100 |
| commit | e5cbf1e99cb60397fdd0e4c00626f0a2dd9c58b0 (patch) | |
| tree | a2b545498547ffd4e8a88e7475e142f1ac5defe8 | |
| parent | 835370ff8ccfa034e8abfbe7e8274e2ce125fbd5 (diff) | |
Add archiso check
| -rwxr-xr-x | liveusb/build.sh | 5 |
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 |
