You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
migrate.sh: ensure only one value match
This commit is contained in:
@@ -15,7 +15,7 @@ esac;
|
|||||||
|
|
||||||
item() { echo "- $@"; }
|
item() { echo "- $@"; }
|
||||||
die() { [ "$INSTALL" ] || echo "$N$N! $@"; exit 1; }
|
die() { [ "$INSTALL" ] || echo "$N$N! $@"; exit 1; }
|
||||||
grep_get_json() { grep "$1" "$FILE" | cut -d\" -f4; }
|
grep_get_json() { grep -m1 "$1" "$FILE" | cut -d\" -f4; }
|
||||||
grep_check_json() { grep -q "$1" "$FILE" && [ "$(grep_get_json "$1")" ]; }
|
grep_check_json() { grep -q "$1" "$FILE" && [ "$(grep_get_json "$1")" ]; }
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|||||||
Reference in New Issue
Block a user