We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee7a44c + 1180980 commit 6175487Copy full SHA for 6175487
setup.sh
@@ -0,0 +1,15 @@
1
+#!/usr/bin/env bash
2
+
3
+# sudo check
4
+if [ "$(id -u)" != "0" ]; then
5
+ if ! command -v sudo >/dev/null 2>&1; then
6
+ echo "This script requires sudo or root privileges but none present."
7
+ exit 1
8
+ else
9
+ SUDO="$(command -v sudo)"
10
+ fi
11
+fi
12
13
+deps="qemu-user-static binfmt-support"
14
15
+$SUDO apt install -y "$deps"
0 commit comments