nixpkgs-suyu/pkgs/servers/dict/wiktionary/update.sh

8 lines
225 B
Bash
Raw Normal View History

2021-02-11 17:43:36 +01:00
#! /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"