Skip to content

Commit 9954e42

Browse files
fixes for auto installer
1 parent 18e9928 commit 9954e42

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

install.bash

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,26 @@ function download() {
99
LATEST_VERSION=$(echo $LATEST_RELEASE | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')
1010
TARBALL_URL="$ARTIFACTS_URL/$LATEST_VERSION"
1111

12-
echo "Downloading tag: $LATEST_VERSION \n"
12+
echo -e "Downloading tag: $LATEST_VERSION \n"
1313
curl -L $TARBALL_URL -o $TMPFILE
1414
}
1515

1616
function unpack() {
17-
echo "Unpacking to local folder... \n"
18-
tar -xvf $TMPFILE --strip 1
17+
echo -e "Unpacking to local folder... \n"
18+
tar -xf $TMPFILE --strip 1
19+
}
20+
21+
function prepDotEnv() {
22+
echo -e "Preparing env file... \n"
23+
cp .docker.env.dist .docker.env
1924
}
2025

2126
function cleanup() {
27+
echo -e "Cleaning up... \n"
2228
rm -rf $TMPFILE
2329
}
2430

2531
download
2632
unpack
33+
prepDotEnv
2734
cleanup

0 commit comments

Comments
 (0)