From f6bb6860b4d88f4e6c50cfbc692e0d34a3a0b18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 20 Mar 2024 23:04:28 +0100 Subject: [PATCH] =?UTF-8?q?bin=5Ffile=20is=20actually=20a=20multiple=20fil?= =?UTF-8?q?es=20command=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/_common.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 875ef50..48ab392 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -82,21 +82,21 @@ function setup_database() { # Load translation #param=" --without-demo True --addons-path $install_dir/$appname/addons --db_user $app --db_password $db_pwd --db_host 127.0.0.1 --db_port 5432 --db-filter '^$app\$' -d $app " param=" -c $conf_file -d $app " - ynh_exec_as "$app" "$bin_file" -c "$conf_file" --stop-after-init -i base -d "$app" - ynh_exec_as "$app" "$bin_file" -c "$conf_file" --stop-after-init -i auth_ldap -d "$app" - ynh_exec_as "$app" "$bin_file" -c "$conf_file" --stop-after-init --load-language $lang -d "$app" + ynh_exec_as "$app" $bin_file -c "$conf_file" --stop-after-init -i base -d "$app" + ynh_exec_as "$app" $bin_file -c "$conf_file" --stop-after-init -i auth_ldap -d "$app" + ynh_exec_as "$app" $bin_file -c "$conf_file" --stop-after-init --load-language $lang -d "$app" # Configure language, timezone and ldap - ynh_exec_as "$app" "$bin_file" shell -c "$conf_file" -d "$app" <<< \ + ynh_exec_as "$app" $bin_file shell -c "$conf_file" -d "$app" <<< \ " self.env['res.users'].search([['login', '=', 'admin']])[0].write({'password': '$admin_password'}) self.env.cr.commit() " - ynh_exec_as "$app" "$bin_file" shell -c "$conf_file" -d "$app" <<< \ + ynh_exec_as "$app" $bin_file shell -c "$conf_file" -d "$app" <<< \ " self.write({'tz':'$tz','lang':'$lang'}) self.env.cr.commit() " - ynh_exec_as "$app" "$bin_file" shell -c "$conf_file" -d "$app" <<< \ + ynh_exec_as "$app" $bin_file shell -c "$conf_file" -d "$app" <<< \ " template=env['res.users'].create({ 'login':'template',