Remove ugly old trick
This commit is contained in:
parent
8504814f4b
commit
db7ed356ff
1 changed files with 2 additions and 8 deletions
|
@ -132,19 +132,13 @@ ynh_configure () {
|
||||||
content="dbfilter = $db_name"
|
content="dbfilter = $db_name"
|
||||||
else
|
else
|
||||||
content="db_name = $db_name"
|
content="db_name = $db_name"
|
||||||
if [[ $app_version -gt 9 ]]
|
if [[ $app_version -gt 9 ]]; then
|
||||||
then
|
|
||||||
content2="dbfilter = False"
|
content2="dbfilter = False"
|
||||||
fi
|
fi
|
||||||
content3="list_db = False"
|
content3="list_db = False"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "$(dirname $DEST)"
|
ynh_add_config --template="$TEMPLATE" --destination="$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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue