Skip to content

Commit dcefc97

Browse files
authored
downloader: print more useful greeting (#615)
1 parent cf6ad1d commit dcefc97

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

download.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
set -e
33

44
print_welcome() {
5-
echo "RUN-THAT-APP DOWNLOAD SCRIPT"
6-
echo
7-
echo "This script is under development. Please report issues at"
8-
echo "https://github.com/kevgo/run-that-app/issues"
9-
echo
5+
version=$1
6+
name=$2
7+
echo "Installing run-that-app $version as $name ..."
108
}
119

1210
VERSION="0.33.0" # the default version of run-that-app to download
@@ -31,7 +29,7 @@ main() {
3129
esac
3230
done
3331

34-
print_welcome
32+
print_welcome "$VERSION" "$DEST_FILENAME"
3533

3634
need_cmd uname
3735
need_cmd curl

0 commit comments

Comments
 (0)