mirror of
https://github.com/YunoHost-Apps/simple-torrent_ynh.git
synced 2024-09-03 20:26:18 +02:00
parent
107c09b812
commit
2bad1ff603
5 changed files with 11 additions and 11 deletions
|
@ -30,7 +30,7 @@ SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang).
|
||||||
- Magnet RSS subscribing supported
|
- Magnet RSS subscribing supported
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.3.9~ynh1
|
**Shipped version:** 1.3.9~ynh2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang).
|
||||||
- Magnet RSS subscribing supported
|
- Magnet RSS subscribing supported
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.3.9~ynh1
|
**Version incluse :** 1.3.9~ynh2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
upgrade=1 from_commit=295026023fdb74f5bf210093f5b0622bae2982f3
|
upgrade=1 from_commit=295026023fdb74f5bf210093f5b0622bae2982f3
|
||||||
|
upgrade=1 from_commit=bbce7cfa6cb8916671a4fec9e8a73095f74a0c9d
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
change_url=1
|
change_url=1
|
||||||
|
@ -23,4 +24,7 @@ Notification=none
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=295026023fdb74f5bf210093f5b0622bae2982f3
|
; commit=295026023fdb74f5bf210093f5b0622bae2982f3
|
||||||
name= Upgrade to 1.2.12 (#10)
|
name= Upgrade to 1.2.12 (#10)
|
||||||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=4533&
|
; commit=bbce7cfa6cb8916671a4fec9e8a73095f74a0c9d
|
||||||
|
name= Upgrade to 1.3.7 (#63)
|
||||||
|
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=4533&
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Self-hosted remote torrent client",
|
"en": "Self-hosted remote torrent client",
|
||||||
"fr": "Client torrent distant auto-hébergé"
|
"fr": "Client torrent distant auto-hébergé"
|
||||||
},
|
},
|
||||||
"version": "1.3.9~ynh1",
|
"version": "1.3.9~ynh2",
|
||||||
"url": "https://github.com/boypt/simple-torrent",
|
"url": "https://github.com/boypt/simple-torrent",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
|
|
|
@ -86,11 +86,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||||
|
|
||||||
# Remove the app directory securely
|
|
||||||
ynh_secure_remove --file="$final_path"
|
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir=$final_path --source_id="$architecture"
|
ynh_setup_source --dest_dir=$final_path --source_id="$architecture" --keep="$final_path/config.yml"
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
gzip --decompress $(ynh_detect_arch).gz
|
gzip --decompress $(ynh_detect_arch).gz
|
||||||
|
@ -114,9 +111,9 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Modifying a config file..." --weight=1
|
# ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.default.yml" --destination="$final_path/config.yml"
|
# ynh_add_config --template="../conf/config.default.yml" --destination="$final_path/config.yml"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE DIRECTORIES
|
# CREATE DIRECTORIES
|
||||||
|
@ -127,7 +124,6 @@ mkdir -p /home/yunohost.app/$app/{torrents,downloads}
|
||||||
chown -R $app:www-data /home/yunohost.app/$app
|
chown -R $app:www-data /home/yunohost.app/$app
|
||||||
chmod 755 /home/yunohost.app/$app/{torrents,downloads}
|
chmod 755 /home/yunohost.app/$app/{torrents,downloads}
|
||||||
|
|
||||||
#=================================================
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue