diff --git a/create-arch-bootstrap.sh b/create-arch-bootstrap.sh index b062c4d..ad1b3d8 100755 --- a/create-arch-bootstrap.sh +++ b/create-arch-bootstrap.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Dependencies: wget tar gzip +# Dependencies: wget tar gzip grep sha256sum # Root rights are required if [ $EUID != 0 ]; then @@ -19,6 +19,16 @@ if ! command -v gzip 1>/dev/null; then exit 1 fi +if ! command -v grep 1>/dev/null; then + echo "grep is required!" + exit 1 +fi + +if ! command -v sha256sum 1>/dev/null; then + echo "sha256sum is required!" + exit 1 +fi + script_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" mount_chroot () {