diff --git a/package_linter.py b/package_linter.py index 6cb6052..a35c3cd 100755 --- a/package_linter.py +++ b/package_linter.py @@ -40,7 +40,7 @@ def check_files_exist(app_path): i+=1 def check_file_exist(file_path): - return 1 if os.path.isfile(file_path) else 0 + return 1 if os.path.isfile(file_path) and os.stat(file_path).st_size > 0 else 0 def read_file(file_path): with open(file_path) as f: diff --git a/phpsysinfo_for_yunohost b/phpsysinfo_for_yunohost new file mode 160000 index 0000000..b93a9b9 --- /dev/null +++ b/phpsysinfo_for_yunohost @@ -0,0 +1 @@ +Subproject commit b93a9b9617ff21d23e91eb95cc2de7ed266c4fc1