1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searx_ynh.git synced 2024-09-03 20:16:30 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-05-17 15:00:20 +02:00
parent 3b6729ae5f
commit d7cb338422
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -37,12 +37,6 @@ if [ -z "$final_path" ]; then
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
fi
# If custom.yml doesn't exist, create it
if [ -z "$final_path/searx/custom.yml" ]; then
secret_key=$(ynh_string_random)
ynh_add_config --template="../conf/custom.yml" --destination="$final_path/searx/custom.yml"
fi
# Cleaning legacy permissions
if ynh_legacy_permissions_exists; then
ynh_legacy_permissions_delete_all