···11+#!/usr/bin/env nix-shell22+#!nix-shell -i bash -p common-updater-scripts curl33+# shellcheck shell=bash44+55+set -eu -o pipefail66+77+# The first valid version in the changelog should always be the latest version.88+version="$(curl https://www.der-hammer.info/terminal/CHANGELOG.txt | grep -m1 -Po '[0-9]+\.[0-9]+\.[0-9]+')"99+1010+function update_hash_for_system() {1111+ local system="$1"1212+ # Reset the version number so the second architecture update doesn't get ignored.1313+ update-source-version hterm 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" --system="$system"1414+ update-source-version hterm "$version" --system="$system"1515+}1616+1717+update_hash_for_system x86_64-linux1818+update_hash_for_system i686-linux