nixpkgs/pkgs/by-name/hd/hdos/update.sh
Gabriel Fontes 6022f4ef57
hdos: init at 8
Fixes #307154
2024-05-20 12:18:27 -03:00

8 lines
256 B
Bash
Executable File

#! /usr/bin/env nix-shell
#! nix-shell -i bash -p common-updater-scripts findutils
set -euo pipefail
version="$(curl -s https://cdn.hdos.dev/client/getdown.txt | grep 'launcher.version = ' | cut -d '=' -f2 | xargs)"
update-source-version hdos "$version"