eden/tools/url-hash.sh
Caio Oliveira ca7001639b [license] include .ps1, improve commit message and shebang first
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
2025-09-18 02:29:28 +02:00

7 lines
185 B
Bash
Executable file

#!/bin/sh
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
# SPDX-License-Identifier: GPL-3.0-or-later
SUM=$(wget -q "$1" -O - | sha512sum)
echo "$SUM" | cut -d " " -f1