1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/teampass_ynh.git synced 2024-09-03 20:26:37 +02:00

Boring tweak to have maketpconfig.php available in the context ...

This commit is contained in:
Alexandre Aubin 2023-12-04 21:27:59 +01:00 committed by Félix Piédallu
parent 6eea26a059
commit 19f78ee82f

View file

@ -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