File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 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
3031VERSION=" 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
4647if [[ -z " $@ " ]]; then
4748 echo " $USAGE "
@@ -295,8 +296,8 @@ delete_all() {
295296# - download_cli <n.n.n>
296297download_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
You can’t perform that action at this time.
0 commit comments