From 19f78ee82f45b3c6d66c39316a1647bad4778722 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 4 Dec 2023 21:27:59 +0100 Subject: [PATCH] Boring tweak to have maketpconfig.php available in the context ... --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 72f88d3..ab58531 100644 --- a/scripts/install +++ b/scripts/install @@ -79,9 +79,11 @@ ynh_add_config --template="../conf/settings.php" --destination="$install_dir/inc #================================================= ynh_script_progression --message="Creating tp.config.php file..." +cp $YNH_APP_BASEDIR/conf/maketpconfig.php $install_dir/ pushd $install_dir - ynh_exec_as $app php$phpversion $YNH_APP_BASEDIR/conf/maketpconfig.php + ynh_exec_as $app php$phpversion maketpconfig.php popd +ynh_secure_remove $install_dir/maketpconfig.php #================================================= # CREATE A SALTKEY