mirror of
https://github.com/YunoHost/example_ynh.git
synced 2024-09-03 20:06:13 +02:00
[fix] typo
This commit is contained in:
parent
7d8075d5a0
commit
500ca9ed10
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 incomplete, suppression of app directory cancelled." >&2
|
||||
echo "Variable src_path seems uncomplete, deletion of app directory cancelled." >&2
|
||||
else
|
||||
sudo rm -rf $src_path
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue