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

ynh_exec_as: command not found #44

Closed yalh76 closed 4 years ago

yalh76 commented 5 years ago

New version of package_linter advise:

[YEP-2.12] You should not need to use 'sudo', the script is being run as root. (If you need to run a command using a specific user, use 'ynh_exec_as')

But ynh_exec_as is not included in the default helpers: https://yunohost.org/#/packaging_apps_helpers_en Still in the experimental helpers ...

alexAubin commented 5 years ago

:sweat_smile:

alexAubin commented 4 years ago

Package linter doesn't warn anymore if you "sudo -u someuser"