https://help.mirrors.cqupt.edu.cn
There are inevitable reason to motify upstream(mirrorz) code, so a easy script override.sh is developed.
The override.sh script use override dir as root path and calculate a relative path, then perform an action to path mirrorz-help/relative_path file.
What action performed depends on the file's suffix under override dir. There are 2 suffixes supported now
.patchindicate this is a standardpatchfile (you can get this use cmd likediff), so the action ispatchthis.patchfile to dst..allindicate you wanna totally replace, so the action ismvthis.allfile to dst.
e.g.
An override file:
override/src/routers.json.patch, then this command will be applied.patch override/src/routers.json.patch mirrorz-help/src/routers.json