mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Force script order
This commit is contained in:
parent
74e60bab86
commit
fbcdf54cdf
1 changed files with 4 additions and 1 deletions
|
@ -99,7 +99,10 @@ class App():
|
|||
self.check_source_management()
|
||||
self.check_manifest()
|
||||
|
||||
for script in self.scripts.values():
|
||||
# Copypasta of lines from __init__ instead of using
|
||||
# self.script.values() because dict are unordered until python 3.7
|
||||
scripts = ["install", "remove", "upgrade", "backup", "restore"]
|
||||
for script in [self.scripts[s] for s in scripts]:
|
||||
if script.exists:
|
||||
script.analyze()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue