nixpkgs-suyu/pkgs/applications/blockchains/btcpayserver/update.sh
Erik Arvstedt 60c6153ab1
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.
2021-05-14 11:28:21 +02:00

11 lines
242 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
scriptDir=$(cd "${BASH_SOURCE[0]%/*}" && pwd)
cd "$scriptDir"
echo "Updating nbxplorer"
../nbxplorer/update.sh
echo
echo "Updating btcpayserver"
../nbxplorer/util/update-common.sh btcpayserver deps.nix