1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snserver_ynh.git synced 2024-09-03 20:26:22 +02:00

Fix: Remove unnecessary 'ynh_webpath_available'

This commit is contained in:
Fabian Wilkens 2021-09-18 18:38:02 +02:00
parent 9d93cd115a
commit 21dfc5e4e5
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB
2 changed files with 10 additions and 1 deletions

10
node_modules/.yarn-integrity generated vendored Normal file
View file

@ -0,0 +1,10 @@
{
"systemParams": "linux-x64-88",
"modulesFolders": [],
"flags": [],
"linkedModules": [],
"topLevelPatterns": [],
"lockfileEntries": {},
"files": [],
"artifacts": {}
}

View file

@ -53,7 +53,6 @@ config_api_gateway="$final_path/live/api-gateway.env"
#================================================= #=================================================
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 || ynh_die --message="There is already a directory: $final_path " test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
test ! -d $final_path_www || ynh_die --message="There is already a directory: $final_path_www " test ! -d $final_path_www || ynh_die --message="There is already a directory: $final_path_www "