We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7409609 commit 8e5bf14Copy full SHA for 8e5bf14
1 file changed
install-requirements.sh
@@ -1,6 +1,12 @@
1
#!/bin/bash
2
set -e
3
4
+if [[ $UID != 0 ]]; then
5
+ echo "Please run this script with sudo:"
6
+ echo "sudo $0 $*"
7
+ exit 1
8
+fi
9
+
10
if [[ "$OSTYPE" == "linux-gnu" ]]; then
11
# install requirements
12
export DEBIAN_FRONTEND=noninteractive
0 commit comments