diff --git a/README.md b/README.md index 510541e..88fce55 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -28,7 +28,7 @@ PairDrop is a sublime alternative to AirDrop that works on all platforms. - As it is web based, it runs on all devices. -**Shipped version:** 1.10.7~ynh1 +**Shipped version:** 1.10.7~ynh2 **Demo:** https://pairdrop.net/ @@ -39,8 +39,8 @@ PairDrop is a sublime alternative to AirDrop that works on all platforms. ## Documentation and resources * Official app website: -* Official admin documentation: -* Upstream app code repository: +* Official admin documentation: +* Upstream app code repository: * YunoHost Store: * Report a bug: @@ -56,4 +56,4 @@ or sudo yunohost app upgrade pairdrop -u https://github.com/YunoHost-Apps/pairdrop_ynh/tree/testing --debug ``` -**More info regarding app packaging:** +**More info regarding app packaging:** \ No newline at end of file diff --git a/README_fr.md b/README_fr.md index b9f3f6a..9fc3dcb 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,5 +1,5 @@ @@ -27,7 +27,7 @@ PairDrop est une sublime alternative à AirDrop qui fonctionne sur toutes les pl - Application Web - Comme il est basé sur le Web, il fonctionne sur tous les appareils. -**Version incluse :** 1.10.7~ynh1 +**Version incluse :** 1.10.7~ynh2 **Démo :** https://pairdrop.net/ @@ -38,8 +38,8 @@ PairDrop est une sublime alternative à AirDrop qui fonctionne sur toutes les pl ## Documentations et ressources * Site officiel de l’app : -* Documentation officielle de l’admin : -* Dépôt de code officiel de l’app : +* Documentation officielle de l’admin : +* Dépôt de code officiel de l’app : * YunoHost Store: * Signaler un bug : diff --git a/manifest.toml b/manifest.toml index 44d17f1..0394a91 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "PairDrop" description.en = "Local file sharing in your browser" description.fr = "Partage de fichiers locaux dans votre navigateur" -version = "1.10.7~ynh1" +version = "1.10.7~ynh2" maintainers = [] @@ -15,9 +15,8 @@ maintainers = [] license = "AGPL-3.0-only" website = "https://pairdrop.net/" demo = "https://pairdrop.net/" -admindoc = "https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md" -code = "https://github.com/schlagmichdoch/PairDrop" -fund = "https://www.buymeacoffee.com/pairdrop" +admindoc = "https://github.com/babstar99/PairDrop/blob/master/docs/host-your-own.md" +code = "https://github.com/babstar99/PairDrop" [integration] yunohost = ">= 11.2" @@ -45,7 +44,7 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/schlagmichdoch/PairDrop/archive/refs/tags/v1.10.7.tar.gz" + url = "https://github.com/babstar99/PairDrop/archive/refs/tags/v1.10.7.tar.gz" sha256 = "8059ecc10b7e2a7800d81398c242890518177d098e0be6ad926e4d50f44e7a6d" autoupdate.strategy = "latest_github_tag" diff --git a/scripts/backup b/scripts/backup index efbeed3..5b8bd35 100755 --- a/scripts/backup +++ b/scripts/backup @@ -21,15 +21,11 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" #================================================= -# BACKUP THE NGINX CONFIGURATION +# SYSTEM CONFIGURATION #================================================= ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP SYSTEMD -#================================================= - ynh_backup --src_path="/etc/systemd/system/$app.service" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index ef71625..ab1b3df 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,8 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # STOP SYSTEMD SERVICE #================================================= @@ -23,13 +21,9 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=1 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=1 - - ynh_setup_source --dest_dir="$install_dir" -fi +ynh_setup_source --dest_dir="$install_dir" chown -R $app:www-data "$install_dir"