mirror of
https://github.com/YunoHost-Apps/pairdrop_ynh.git
synced 2024-09-03 19:56:16 +02:00
commit
060b1dad82
5 changed files with 16 additions and 27 deletions
10
README.md
10
README.md
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -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: <https://pairdrop.net/>
|
||||
* Official admin documentation: <https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md>
|
||||
* Upstream app code repository: <https://github.com/schlagmichdoch/PairDrop>
|
||||
* Official admin documentation: <https://github.com/babstar99/PairDrop/blob/master/docs/host-your-own.md>
|
||||
* Upstream app code repository: <https://github.com/babstar99/PairDrop>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/pairdrop>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/pairdrop_ynh/issues>
|
||||
|
||||
|
@ -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:** <https://yunohost.org/packaging_apps>
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -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 : <https://pairdrop.net/>
|
||||
* Documentation officielle de l’admin : <https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/schlagmichdoch/PairDrop>
|
||||
* Documentation officielle de l’admin : <https://github.com/babstar99/PairDrop/blob/master/docs/host-your-own.md>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/babstar99/PairDrop>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/pairdrop>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/pairdrop_ynh/issues>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue