fix typos
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user