sourcehut helper: Added option to specify pmbootstrap branch
This commit is contained in:
parent
a3b88e2e28
commit
85bafd1e3a
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,12 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Config: pmbootstrap tag (or branch)
|
||||
tag="master"
|
||||
|
||||
if [ "$1" != "" ]; then
|
||||
tag="$1"
|
||||
else
|
||||
tag="master"
|
||||
fi
|
||||
|
||||
# Get download URL and pmaports path
|
||||
url="https://gitlab.com/postmarketOS/pmbootstrap/-/archive/$tag/pmbootstrap-$tag.tar.bz2"
|
||||
|
|
Loading…
Reference in a new issue