mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Merge commit '055bb04c14f30cc627492680d1cf486d7b9b0f79' into feature/update-dependencies
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function check_download()
|
||||
{
|
||||
if [ -f $DL/$FNAME ]; then
|
||||
CHECK=$(sha256sum $DL/$FNAME |awk '{printf $1};')
|
||||
CHECK=$(shasum -a 256 $DL/$FNAME |awk '{printf $1};')
|
||||
if [ "$CHECK" == "$CSUM" ]; then
|
||||
return 0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user