[fix] typo again

This commit is contained in:
ljf (zamentur) 2017-03-26 23:10:01 +02:00 committed by GitHub
parent 500ca9ed10
commit 8a2715dabd

View file

@ -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