mirror of
https://github.com/YunoHost-Apps/discourse_ynh.git
synced 2024-09-03 18:26:18 +02:00
Fix
This commit is contained in:
parent
61697b2749
commit
c8237f29c6
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ exec_login_as() {
|
||||||
shift 1
|
shift 1
|
||||||
exec_as $user --login "$@"
|
exec_as $user --login "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Execute a command as another user
|
# Execute a command as another user
|
||||||
# usage: exec_as USER COMMAND [ARG ...]
|
# usage: exec_as USER COMMAND [ARG ...]
|
||||||
exec_as() {
|
exec_as() {
|
||||||
|
|
|
@ -64,6 +64,7 @@ ynh_app_setting_set --app=$app --key=email --value=$email
|
||||||
ynh_script_progression --message="Installing dependencies..."
|
ynh_script_progression --message="Installing dependencies..."
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
ynh_install_ruby --ruby_version=$RUBY_VERSION
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A POSTGRESQL DATABASE
|
# CREATE A POSTGRESQL DATABASE
|
||||||
|
|
Loading…
Add table
Reference in a new issue