mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Report obsolete use of -i/--installed with yunohost app list
This commit is contained in:
parent
6e0c314098
commit
813b244f01
1 changed files with 7 additions and 0 deletions
|
@ -1093,6 +1093,13 @@ class Script(TestSuite):
|
|||
yield Error("'yunohost app initdb' is obsolete!!! Please use 'ynh_mysql_setup_db' instead.")
|
||||
if self.contains("yunohost tools port-available"):
|
||||
yield Error("'yunohost tools port-available is obsolete!!! Please use 'ynh_port_available' instead.")
|
||||
if self.contains("yunohost app list -i") or self.contains("yunohost app list --installed"):
|
||||
yield Warning(
|
||||
"Argument --installed ain't needed anymore when using "
|
||||
"'yunohost app list'. It directly returns the list of installed "
|
||||
"apps.. Also beware that option -f is obsolete as well .. "
|
||||
"Use grep -q 'id: $appname' to check a specific app is installed"
|
||||
)
|
||||
|
||||
@test()
|
||||
def safe_rm(self):
|
||||
|
|
Loading…
Reference in a new issue