YunoHost / package_linter

Linter for YunoHost applications packages
https://yunohost.org/#/packaging_apps
GNU Affero General Public License v3.0
17 stars 13 forks source link

Enforce ynh_postgres_test_if_first_run and not yunohost service add #83

Closed autra closed 4 years ago

autra commented 4 years ago

The problem

when using postgres service, install and restore script must call test_if_first_run. But then, the ynh service is already installed.

So instead of checking for yunohost service add, we check for ynh_psql_test_if_first_run.