From 18b67ae4e3a8271914971aea4b71ff154a134cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 1 Mar 2024 19:08:13 +0100 Subject: [PATCH 1/7] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 44d17f1..5b22c80 100644 --- a/manifest.toml +++ b/manifest.toml @@ -45,7 +45,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" From fdecccabb6272daf07c9b4554566143eddc1fc7f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 1 Mar 2024 18:08:18 +0000 Subject: [PATCH 2/7] Auto-update README --- README.md | 4 ++-- README_fr.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 510541e..0877ac4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -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..2f3a494 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,5 +1,5 @@ From 697dbd4ca099ed8db6516543b7eda526ad99927c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 1 Mar 2024 19:09:21 +0100 Subject: [PATCH 3/7] Update manifest.toml --- manifest.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5b22c80..e3649da 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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" From cdc86f9b645f03a0783cbd62bb9bcc3357873cf5 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 1 Mar 2024 18:09:31 +0000 Subject: [PATCH 4/7] Auto-update README --- README.md | 4 ++-- README_fr.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0877ac4..4f7211d 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/README_fr.md b/README_fr.md index 2f3a494..7c2948d 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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 : From 7fd27b671d9170d97ba5b8374899a5514090f5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 1 Mar 2024 19:11:21 +0100 Subject: [PATCH 5/7] cleaning --- scripts/backup | 6 +----- scripts/upgrade | 10 ++-------- 2 files changed, 3 insertions(+), 13 deletions(-) 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" From f63d37739e24b240fbc65e5a9c3c62ddf447eb05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 1 Mar 2024 19:31:05 +0100 Subject: [PATCH 6/7] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index e3649da..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 = [] From 2e004b9ed9bd25e90a2562f304071b6c302773e0 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 1 Mar 2024 18:31:10 +0000 Subject: [PATCH 7/7] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f7211d..88fce55 100644 --- a/README.md +++ b/README.md @@ -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/ diff --git a/README_fr.md b/README_fr.md index 7c2948d..9fc3dcb 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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/