diff --git a/README.md b/README.md index 71388c2..7c1b4ac 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Droppy for YunoHost [![Integration level](https://dash.yunohost.org/integration/droppy.svg)](https://dash.yunohost.org/appci/app/droppy) ![](https://ci-apps.yunohost.org/ci/badges/droppy.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/droppy.maintain.svg) -[![Install Droppy with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=droppy) +[![Install Droppy with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=droppy) *[Lire ce readme en français.](./README_fr.md)* diff --git a/README_fr.md b/README_fr.md index 3ef3d05..c458d16 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,7 +1,7 @@ # Droppy pour YunoHost [![Niveau d'intégration](https://dash.yunohost.org/integration/droppy.svg)](https://dash.yunohost.org/appci/app/droppy) ![](https://ci-apps.yunohost.org/ci/badges/droppy.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/droppy.maintain.svg) -[![Installer Droppy avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=droppy) +[![Installer Droppy avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=droppy) *[Read this readme in english.](./README.md)* diff --git a/manifest.json b/manifest.json index 5ddb1eb..582bd57 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted file storage server", "fr": "Serveur de stockage de fichiers auto-hébergé" }, - "version": "12.2.0~ynh3", + "version": "12.2.0~ynh4", "url": "https://github.com/silverwind/droppy", "license": "BSD-2-Clause", "maintainer": { diff --git a/scripts/install b/scripts/install index abcd2d4..f41b993 100644 --- a/scripts/install +++ b/scripts/install @@ -54,7 +54,7 @@ ynh_app_setting_set --app=$app --key=is_public --value=$is_public #================================================= # FIND AND OPEN A PORT #================================================= -ynh_script_progression --message="Configuring firewall..." --weight=2 +ynh_script_progression --message="Finding an available port..." --weight=2 # Find an available port port=$(ynh_find_port --port=8989) @@ -120,7 +120,7 @@ mkdir -p $data_path mkdir -p $final_path/config # Give permission to the datadir -chown -R $app:$app "$data_path" +chown -R $app: "$data_path" #================================================= # SETUP SYSTEMD @@ -152,7 +152,7 @@ ynh_store_file_checksum --file="$final_path/config/config.json" ynh_script_progression --message="Securing files and directories..." --weight=1 # Set permissions to app files -chown -R $app:$app $final_path +chown -R $app: $final_path chmod 755 $final_path #================================================= diff --git a/scripts/restore b/scripts/restore index 68514d2..31c881f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -96,7 +96,7 @@ systemctl enable $app.service --quiet #================================================= ynh_restore_file "/home/yunohost.app/$app" -chown -R $app:$app "/home/yunohost.app/$app" +chown -R $app: "/home/yunohost.app/$app" #================================================= # INTEGRATE SERVICE IN YUNOHOST