diff --git a/README.md b/README.md index ab68626..27fe87e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ How to configure this app: From an admin panel. ## Documentation * Official documentation: https://lycheeorg.github.io/docs/ - * YunoHost documentation: https://yunohost.org/#/app_lychee + * YunoHost documentation: https://yunohost.org/en/app_lychee ## YunoHost specific features diff --git a/README_fr.md b/README_fr.md index 4d7a70f..375a413 100644 --- a/README_fr.md +++ b/README_fr.md @@ -28,7 +28,7 @@ Comment configurer cette application : via le panneau d'administration. ## Documentation * Documentation officielle : https://lycheeorg.github.io/docs/ - * Documentation YunoHost : https://yunohost.org/#/app_lychee_fr + * Documentation YunoHost : https://yunohost.org/fr/app_lychee ## Caractéristiques spécifiques YunoHost diff --git a/scripts/install b/scripts/install index 093f0d1..df9f4dd 100755 --- a/scripts/install +++ b/scripts/install @@ -33,9 +33,6 @@ ynh_script_progression --message="Validating installation parameters..." --weigh final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" -# public_path=/home/yunohost.app/$app -# test ! -e "${public_path}" || ynh_die --message="${public_path} already exists" - # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url @@ -148,9 +145,9 @@ ynh_store_file_checksum "$final_path/.env" # Set permissions to app files chown -R $app: $final_path -chmod -R 750 $final_path/bootstrap/cache +chmod 750 $final_path/bootstrap/cache chown -R $app: $public_path -chmod -R 750 $public_path +chmod 750 $public_path #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index dffcfa0..4df9aff 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -157,9 +157,6 @@ ynh_script_progression --message="Building..." # Setup application config ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" -# Setup custom user.css file -#cp ../conf/user.css.example $final_path/public/dist/user.css - #================================================= # INSTALL AND INITIALIZE COMPOSER #================================================= @@ -180,9 +177,9 @@ fi # Set permissions to app files chown -R $app: $final_path -chmod -R 750 $final_path/bootstrap/cache +chmod 750 $final_path/bootstrap/cache chown -R $app: $public_path -chmod -R 750 $public_path +chmod 750 $public_path #================================================= # RELOAD NGINX