mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 19:08:27 +00:00
Add Blob SHA to --version output
This should make it possible to determine the arkmanager version when it hasn't been installed using the netinstall script.
This commit is contained in:
parent
e81f1905cd
commit
7c0abf2dfb
@ -1806,6 +1806,7 @@ while true; do
|
||||
if [ -n "${arkstCommit}" ]; then
|
||||
echo "Commit: ${arkstCommit:0:7}"
|
||||
fi
|
||||
echo "Blob SHA: $( (echo -ne "blob $(stat -c "%s" "$0")\0"; sed "s@^arkstCommit=.*@arkstCommit=''@" "$0") | sha1sum | cut -d' ' -f1)"
|
||||
exit 1
|
||||
;;
|
||||
-h|--help)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user