We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d66e684 commit 4aab7b2Copy full SHA for 4aab7b2
clone-from-dark-repo.sh
@@ -1,5 +1,8 @@
1
#!/usr/bin/env bash
2
3
+# run like
4
+# ./clone-from-dark-repo.sh "../dark"
5
+
6
set -euo pipefail
7
8
set -x
scripts/installers/install-yugabyte
@@ -29,7 +29,8 @@ FILENAME=$(basename $URL)
29
DIR=/home/dark/yugabyte
30
mkdir -p $DIR
31
cd $DIR
32
-curl -sSL -o $FILENAME $URL
+curl -sSL -f -o $FILENAME $URL
33
+file "$FILENAME"
34
tar xvf $FILENAME --strip-components=1
35
rm $FILENAME
36
./bin/post_install.sh
0 commit comments