depot/third_party/nixpkgs/pkgs/servers/dict/wiktionary/update.sh

7 lines
225 B
Bash
Executable file

#! /usr/bin/env nix-shell
#! nix-shell -i bash -p common-updater-scripts python3
set -ueo pipefail
version="$(python "$(dirname "${BASH_SOURCE[0]}")"/latest_version.py)"
update-source-version dictdDBs.wiktionary "$version"