8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
7 lines
295 B
Bash
Executable file
7 lines
295 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl jq gnugrep common-updater-scripts
|
|
|
|
set -eu -o pipefail
|
|
|
|
version=$(curl -s 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=minecraft-launcher' | jq '.results[0].Version' | grep -Po '[.\d]*(?=-)')
|
|
update-source-version minecraft "$version"
|