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