ROMFS: Strip README files

This commit is contained in:
Lorenz Meier 2016-07-01 18:03:38 +02:00
parent 6268cdc86a
commit 37edb43b60
1 changed files with 5 additions and 0 deletions

View File

@ -68,6 +68,11 @@ def main():
os.remove(file_path)
continue
# delete documentation
if file.startswith("README"):
os.remove(file_path)
continue
# only prune text files
if ".zip" in file or ".bin" in file or ".swp" in file \
or ".data" in file or ".DS_Store" in file: