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

8 lines
225 B
Bash
Raw Normal View History

#! /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"