Skip to content

Commit 920b90e

Browse files
authored
Merge pull request #2 from bashpack-project/working
creating working branch
2 parents 9931921 + ff230c6 commit 920b90e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

bashpack.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
# SOFTWARE.
2424

2525

26+
2627
#URL="http://localhost" # for local web server
27-
URL="https://api.github.com/repos/bashpack-project/bashpack/tarball" # for Github
28-
# URL="https://github.com/bashpack-project/bashpack/archive/refs/heads" # for Github
28+
URL="https://api.github.com/repos/bashpack-project/bashpack/tarball" # for Github tarball
29+
# URL="https://github.com/bashpack-project/bashpack/archive/refs/heads" # for Github main branch
2930

3031
VERSION="0.2.18"
3132

@@ -41,7 +42,7 @@ export yes="@(yes|Yes|yEs|yeS|YEs|YeS|yES|YES|y|Y)"
4142

4243

4344

44-
# The --help option can be called without root
45+
# Options that can be called without root
4546
# Display usage in case of empty option
4647
if [[ -z "$@" ]]; then
4748
echo "$USAGE"
@@ -295,8 +296,8 @@ delete_all() {
295296
# - download_cli <n.n.n>
296297
download_cli() {
297298

298-
# local archive_name="$NAME_LOWERCASE-${1}.tar.gz" # for basic web server
299-
# local archive_url="$URL/$archive_name" # for basic web server
299+
#local archive_name="$NAME_LOWERCASE-${1}.tar.gz" # for basic web server
300+
#local archive_url="$URL/$archive_name" # for basic web server
300301
local archive_url=${1} # for Github
301302

302303

0 commit comments

Comments
 (0)