From e3779b0a0de6a1919e0f5ecd07be764fffc2e124 Mon Sep 17 00:00:00 2001 From: Artus Date: Wed, 10 Jun 2020 14:58:58 +0200 Subject: [PATCH] fix typos --- scripts/install | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f4d8596..13ac10a 100644 --- a/scripts/install +++ b/scripts/install @@ -22,7 +22,7 @@ ynh_script_progression --message="Doing some checks" path_url=$(ynh_normalize_url_path $path_url) final_path=/var/www/$app -test ! -e "$final_path" || ynh_dir "This path already contains a folder" +test ! -e "$final_path" || ynh_die "This path already contains a folder" ynh_webpath_available $domain $path_url ynh_webpath_register $app $domain $path_url @@ -47,7 +47,6 @@ fi ynh_script_progression --message="Build zola project" -echo $(pwd) ( tmp_dir=/tmp/$app mkdir $tmp_dir && cd $tmp_dir @@ -56,7 +55,6 @@ echo $(pwd) zola build --base-url $path_url --output-dir $final_path rm -r $tmp_dir ) -echo $(pwd) chmod 755 -R $final_path