mirror of
https://github.com/YunoHost-Apps/icecoder_ynh.git
synced 2024-09-03 19:26:10 +02:00
Update install
This commit is contained in:
parent
843c7c0ead
commit
08d021c627
1 changed files with 2 additions and 4 deletions
|
@ -54,17 +54,15 @@ ynh_script_progression --message="Validating installation parameters..." --weigh
|
|||
final_path=$path_url
|
||||
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
|
||||
|
||||
echo $final_path
|
||||
|
||||
# Register (book) web path
|
||||
if [[ $path_url =~ my_webapp ]]
|
||||
then
|
||||
mkdir $YNH_APP_ARG_PATH
|
||||
chown -R www-data.www-data $final_path
|
||||
ynh_webpath_register --app=$app --domain=$domain --path_url=$YNH_APP_ARG_PATH
|
||||
chown -R my_webapp $final_path
|
||||
else
|
||||
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
|
||||
chown -R www-data.www-data $final_path
|
||||
chown -R my_webapp $final_path
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue