You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
autopif2.sh: fix dates with Termux GNU coreutils
This commit is contained in:
@@ -44,7 +44,7 @@ if ! which wget >/dev/null || grep -q "wget-curl" $(which wget); then
|
||||
fi;
|
||||
fi;
|
||||
|
||||
if date -D '%s' -d "$(date '+%s')" 2>&1 | grep -q "bad date"; then
|
||||
if date -D '%s' -d "$(date '+%s')" 2>&1 | grep -qE "bad date|invalid option"; then
|
||||
if ! find_busybox; then
|
||||
die "date broken";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user