mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Cleaning up
This commit is contained in:
parent
220fd59504
commit
06642ab352
2 changed files with 2 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
||||||
"description": {
|
"description": {
|
||||||
"en": "Privacy-respecting, hackable metasearch engine",
|
"en": "Privacy-respecting, hackable metasearch engine",
|
||||||
"fr": "Méta-moteur de recherche respectueux de la vie privée et bidouillable",
|
"fr": "Méta-moteur de recherche respectueux de la vie privée et bidouillable",
|
||||||
"de": "Meta-Suchmaschine, die den Privatsphäre wahrt und 'hackable' ist."
|
"de": "Meta-Suchmaschine, die den Privatsphäre wahrt und 'hackable' ist"
|
||||||
},
|
},
|
||||||
"version": "1.0.0~ynh3",
|
"version": "1.0.0~ynh3",
|
||||||
"url": "https://searx.github.io/searx/",
|
"url": "https://searx.github.io/searx/",
|
||||||
|
@ -34,8 +34,7 @@
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain"
|
||||||
"example": "domain.org"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
|
|
|
@ -34,8 +34,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
||||||
|
|
||||||
ynh_webpath_available --domain=$domain --path_url=$path_url \
|
|
||||||
|| ynh_die --message="Path not available: ${domain}${path_url}"
|
|
||||||
test ! -d $final_path \
|
test ! -d $final_path \
|
||||||
|| ynh_die --message="There is already a directory: $final_path "
|
|| ynh_die --message="There is already a directory: $final_path "
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue