1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

remove ynh_webpath_available in the restore script

This commit is contained in:
Kay0u 2021-10-21 01:26:25 +02:00
parent ae5211e34f
commit 4cab95f81d
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -41,10 +41,7 @@ architecture=$(ynh_app_setting_get --app="$app" --key=architecture)
#================================================= #=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=1 ynh_script_progression --message="Validating restoration parameters..." --weight=1
ynh_webpath_available --domain=$domain --path_url=$path_url \ test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
|| ynh_die --message="Path not available: ${domain}${path_url}"
test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path "
#================================================= #=================================================
# STANDARD RESTORATION STEPS # STANDARD RESTORATION STEPS