1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update remove

This commit is contained in:
DDATAA 2022-10-27 20:07:00 +00:00 committed by GitHub
parent be9ce9d0d6
commit 22553fbb7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,8 +73,6 @@ ynh_script_progression --message="Removing sandbox domain..." --weight=1
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
sandboxdomain=sandbox-$domain
ynh_permission_url --permission="main" --remove_url=${sandboxdomain%/} --auth_header=false
if sudo yunohost domain list | grep -q $sandboxdomain
then #if domain exist we remove it
yunohost domain remove $sandboxdomain