From 2f0a7722c89ca48399f1678e24b4fe8b88533f9b Mon Sep 17 00:00:00 2001 From: Moul Date: Sun, 3 Jul 2016 11:47:35 +0200 Subject: [PATCH] [enh] close #7: enable ARM build which works. - enable ARM build which works - update upstream to 0.20.0 --- README.md | 4 ++-- conf/upstream_version | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index af16e5b..df564bc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ - [Duniter project](https://duniter.org) - [YunoHost project](https://yunohost.org) -- Works on Debian Jessie 64 bits (will come soon on ARM) +- Works on Debian Jessie 64 bits and ARM - 200Mo free RAM is necessary ## Install @@ -15,7 +15,7 @@ sudo yunohost app install https://github.com/duniter/duniter_ynh The package is **in progress**. Currently, it: -- Install Duniter ≥0.20.0a87 +- Install Duniter ≥ 0.20.0 - Configure - Synchronize - Start diff --git a/conf/upstream_version b/conf/upstream_version index 9facfec..1847373 100644 --- a/conf/upstream_version +++ b/conf/upstream_version @@ -1 +1 @@ -v0.20.0a87 +v0.20.0 diff --git a/scripts/install b/scripts/install index 5e9a7af..813034b 100755 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ arch=$(uname -m) if [ $arch == "x86_64" ]; then arch="x64" fi -if [ $arch != "x64" ]; then #&& $arch != "armv7l" ]; then +if [[ $arch != "x64" && $arch != "armv7l" ]]; then ynh_die "$arch is not currently supported." 2 fi diff --git a/scripts/upgrade b/scripts/upgrade index ac3adf9..441825d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -17,7 +17,7 @@ admin=$(ynh_app_setting_get "$app" admin) version=$(cat ../conf/upstream_version) # Check CPU arch -if [ $arch != "x64" ]; then #&& $arch != "armv7l" ], then +if [[ $arch != "x64" && $arch != "armv7l" ]], then ynh_die "$arch is not currently supported." 2 fi