File: update-all.sh

package info (click to toggle)
python-schwifty 2024.09.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,072 kB
  • sloc: python: 3,057; makefile: 209; sh: 9
file content (13 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
set -o errexit

main() {
  local -r root=$(dirname "${BASH_SOURCE[0]}")

  for country in "at" "be" "cz" "de" "es" "fi" "hr" "hu" "lv" "lt" "nl" "pl" "ro" "si" "sk" "ua" "no"; do
    echo "---> Updating bank registry for: ${country}"
    python "${root}/get_bank_registry_${country}.py"
  done
}

main