Skip to content

Commit

Permalink
migrate.sh: keep Advanced Settings if present in old json
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis authored May 11, 2024
1 parent bbfdc87 commit 2027b7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ fi;
if [ -f "$OUT" ]; then
item "Renaming old file to $(basename "$OUT").bak ...";
mv -f "$OUT" "$OUT.bak";
grep -qE "verboseLogs|VERBOSE_LOGS" "$OUT.bak" && ADVANCED=1;
fi;

[ "$INSTALL" ] || item "Writing fields and properties to updated custom.pif.json ...";
Expand Down

0 comments on commit 2027b7b

Please sign in to comment.