fix json−>toml

This commit is contained in:
Félix Piédallu 2024-03-20 21:26:40 +01:00
parent dedaab9b4d
commit 8504814f4b

View file

@ -140,7 +140,7 @@ ynh_configure () {
fi fi
mkdir -p "$(dirname $DEST)" mkdir -p "$(dirname $DEST)"
if [ -f '../manifest.json' ] ; then if [ -f '../manifest.toml' ] ; then
ynh_add_config "${YNH_CWD}/../conf/$TEMPLATE" "$DEST" ynh_add_config "${YNH_CWD}/../conf/$TEMPLATE" "$DEST"
else else
ynh_add_config "${YNH_CWD}/../settings/conf/$TEMPLATE" "$DEST" ynh_add_config "${YNH_CWD}/../settings/conf/$TEMPLATE" "$DEST"