1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00

Remove ugly old trick

This commit is contained in:
Salamandar 2024-03-20 21:29:29 +01:00
parent 8504814f4b
commit db7ed356ff

View file

@ -132,19 +132,13 @@ ynh_configure () {
content="dbfilter = $db_name"
else
content="db_name = $db_name"
if [[ $app_version -gt 9 ]]
then
if [[ $app_version -gt 9 ]]; then
content2="dbfilter = False"
fi
content3="list_db = False"
fi
mkdir -p "$(dirname $DEST)"
if [ -f '../manifest.toml' ] ; then
ynh_add_config "${YNH_CWD}/../conf/$TEMPLATE" "$DEST"
else
ynh_add_config "${YNH_CWD}/../settings/conf/$TEMPLATE" "$DEST"
fi
ynh_add_config --template="$TEMPLATE" --destination="$DEST"
}
#=================================================