mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
Merge pull request #97 from YunoHost-Apps/testing
#96: Add back ARM support
This commit is contained in:
commit
5efa7349a0
8 changed files with 19 additions and 9 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Crypto-currency software to operate Ğ1 libre currency
|
||||
|
||||
**Shipped version:** 1.8.1~ynh1
|
||||
**Shipped version:** 1.8.1~ynh2
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Nœud qui permet de participer à l’écriture de blocs
|
||||
|
||||
**Version incluse :** 1.8.1~ynh1
|
||||
**Version incluse :** 1.8.1~ynh2
|
||||
|
||||
|
||||
|
||||
|
|
7
conf/armhf.src
Normal file
7
conf/armhf.src
Normal file
|
@ -0,0 +1,7 @@
|
|||
SOURCE_URL=https://git.duniter.org/nodes/typescript/duniter/uploads/f272bf9239e8f97f15c01aafe53b6798/duniter-server-v1.8.0-linux-armv7l.deb
|
||||
SOURCE_SUM=5f769088aea5ee1feb3cb5bd58c4c36e2de897137646536bdcf511a6970990dc
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=deb
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=duniter-server-v1.8.0-linux-armv7l.deb
|
||||
SOURCE_EXTRACT=false
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Crypto-currency software to operate Ğ1 libre currency",
|
||||
"fr": "Nœud qui permet de participer à l’écriture de blocs"
|
||||
},
|
||||
"version": "1.8.1~ynh1",
|
||||
"version": "1.8.1~ynh2",
|
||||
"url": "https://duniter.org",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"upstream": {
|
||||
|
|
|
@ -28,6 +28,7 @@ path_url="/"
|
|||
admin=$YNH_APP_ARG_ADMIN
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
architecture=$YNH_ARCH
|
||||
|
||||
#=================================================
|
||||
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
||||
|
@ -80,8 +81,8 @@ ynh_script_progression --message="Building Duniter.. (this will take some time a
|
|||
|
||||
tempdir="$(mktemp -d)"
|
||||
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=app
|
||||
ynh_exec_warn_less dpkg -i $tempdir/duniter-server-v1.8.1-linux-x64.deb
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=$architecture
|
||||
ynh_exec_warn_less dpkg -i $tempdir/duniter-server-v1.8.*-linux-*.deb
|
||||
|
||||
#=================================================
|
||||
# CREATE DATA DIRECTORY
|
||||
|
|
|
@ -31,6 +31,7 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
|
|||
path_url=$(ynh_app_setting_get --app=$app --key=path)
|
||||
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||
architecture=$YNH_ARCH
|
||||
|
||||
#=================================================
|
||||
# STANDARD RESTORATION STEPS
|
||||
|
@ -71,8 +72,8 @@ ynh_script_progression --message="Building Duniter.. (this will take some time a
|
|||
|
||||
tempdir="$(mktemp -d)"
|
||||
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=app
|
||||
ynh_exec_warn_less dpkg -i $tempdir/duniter-server-v1.8.1-linux-x64.deb
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=$architecture
|
||||
ynh_exec_warn_less dpkg -i $tempdir/duniter-server-v1.8.*-linux-*.deb
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIG FILE
|
||||
|
|
|
@ -21,6 +21,7 @@ path_url=$(ynh_app_setting_get --app=$app --key=path)
|
|||
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
||||
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||
architecture=$YNH_ARCH
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
|
@ -92,8 +93,8 @@ dpkg -r duniter
|
|||
|
||||
tempdir="$(mktemp -d)"
|
||||
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=app
|
||||
ynh_exec_warn_less dpkg -i $tempdir/duniter-server-v1.8.1-linux-x64.deb
|
||||
ynh_setup_source --dest_dir=$tempdir --source_id=$architecture
|
||||
ynh_exec_warn_less dpkg -i $tempdir/duniter-server-v1.8.*-linux-*.deb
|
||||
|
||||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
|
|
Loading…
Reference in a new issue