Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SaicharanKandukuri committed Nov 13, 2021
2 parents ee7a44c + 1180980 commit 6175487
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# sudo check
if [ "$(id -u)" != "0" ]; then
if ! command -v sudo >/dev/null 2>&1; then
echo "This script requires sudo or root privileges but none present."
exit 1
else
SUDO="$(command -v sudo)"
fi
fi

deps="qemu-user-static binfmt-support"

$SUDO apt install -y "$deps"

0 comments on commit 6175487

Please sign in to comment.