Skip to content

Commit 30f244e

Browse files
committed
Add repo variable to entrypoint.sh
1 parent 5273134 commit 30f244e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/bin/bash
22
set -e
33

4+
REPO="${REPO:-glacier-modding/Hitman-Hashes}"
5+
46
echo "Downloading latest hash list..."
5-
curl -L https://github.com/glacier-modding/Hitman-Hashes/releases/latest/download/latest-hashes.7z -o latest-hashes.7z
7+
curl -L https://github.com/${REPO}/releases/latest/download/latest-hashes.7z -o latest-hashes.7z
68
7z x latest-hashes.7z -y
79
rm latest-hashes.7z
810

0 commit comments

Comments
 (0)