diff options
author | James | 2021-12-05 13:51:30 +0000 |
---|---|---|
committer | James | 2021-12-05 13:51:30 +0000 |
commit | e6560a372d8714f3697a5ac244577f8de2ba1996 (patch) | |
tree | fe87e1b146d6af4ff661038cb8cae231e487e7a3 /PKGBUILD | |
parent | e44ab96ea0ed968747f222816d78c3498aab29f9 (diff) | |
download | aur-e6560a372d8714f3697a5ac244577f8de2ba1996.tar.gz |
updated the check function so that it will work in any system locale.
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ #Maintainer: james@stampatron.com pkgname=daggerfall-unity-aur-bin pkgver=0.12.3 -pkgrel=1 +pkgrel=2 pkgdesc="The Elder Scrolls: Daggerfall rebuilt using the unity engine" arch=('x86_64') url=https://www.dfworkshop.net/ @@ -75,8 +75,8 @@ check() { if [ $REMOTE_DATA_FILES == "TRUE" ]; then echo "Checking downloaded data files integrity" - DATA_VALID=$(echo "$DATA_HASH ${srcdir}/data.zip" | sha256sum -c | grep -o OK) - if [ $DATA_VALID == "OK" ]; then + DATA_VALID=$(sha256sum ${srcdir}/data.zip | grep -o $DATA_HASH) + if [ $DATA_VALID == "$DATA_HASH" ]; then echo "Data file confirmed to be valid" fi else |