mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
btcpayserver/update.sh: auto-update nbxplorer
It's now sufficient to run a single script (btcpayserver/update.sh) to update btcpayserver. This simplifies maintenance. nbxplorer is a strict dependency of btcpayserver.
This commit is contained in:
parent
074b608d01
commit
60c6153ab1
@ -2,5 +2,10 @@
|
||||
set -euo pipefail
|
||||
|
||||
scriptDir=$(cd "${BASH_SOURCE[0]%/*}" && pwd)
|
||||
cd "$scriptDir"
|
||||
|
||||
"$scriptDir"/../nbxplorer/util/update-common.sh btcpayserver "$scriptDir"/deps.nix
|
||||
echo "Updating nbxplorer"
|
||||
../nbxplorer/update.sh
|
||||
echo
|
||||
echo "Updating btcpayserver"
|
||||
../nbxplorer/util/update-common.sh btcpayserver deps.nix
|
||||
|
@ -6,7 +6,7 @@ set -euo pipefail
|
||||
# Expects $pkgSrc to contain a single .sln file.
|
||||
|
||||
pkgSrc=$1
|
||||
depsFile=$2
|
||||
depsFile=$(realpath "$2")
|
||||
|
||||
sln=$(cd "$pkgSrc"; find * -maxdepth 0 -name '*.sln' | head -1)
|
||||
[[ $sln ]] || { echo "No .sln file in $pkgSrc" ; exit 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user