[fix] typo again
This commit is contained in:
parent
500ca9ed10
commit
8a2715dabd
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ domain=$(ynh_app_setting_get "$app" domain)
|
|||
# "/" "/var" "/var/www" "/opt" "/home" "/home/yunohost.app"
|
||||
src_path=/var/www/$app
|
||||
if test -z "$app" || [ "/var/www /opt /home/yunohost.app" =~ $src_path ]; then
|
||||
echo "Variable src_path seems uncomplete, deletion of app directory cancelled." >&2
|
||||
echo "Variable src_path seems incomplete, deletion of app directory cancelled." >&2
|
||||
else
|
||||
sudo rm -rf $src_path
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue