From 48ee95202761d7be5cda224e4f3b02f163bed6b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 3 Jun 2017 10:53:11 +0200 Subject: [PATCH] Update to riot 0.10.1 --- scripts/_common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 4f35e29..41c50b4 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,8 +1,8 @@ #!/bin/bash ## Adapt md5sum while you update app -md5sum="c4497b86b75d283ce978f07d5c6b2b0e" -verctor_version="0.9.10" +md5sum="3fa67b938a8231a9ba01d9befbfeef4a" +riot_version="0.10.1" init_script() { # Exit on command errors and treat unset variables as an error @@ -18,14 +18,14 @@ init_script() { get_source() { - wget -q -O '/tmp/riot.tar.gz' "https://github.com/vector-im/riot-web/releases/download/v${verctor_version}/riot-v${verctor_version}.tar.gz" + wget -q -O '/tmp/riot.tar.gz' "https://github.com/vector-im/riot-web/releases/download/v${riot_version}/riot-v${riot_version}.tar.gz" if [[ ! -e '/tmp/riot.tar.gz' ]] || [[ $(md5sum '/tmp/riot.tar.gz' | cut -d' ' -f1) != $md5sum ]] then ynh_die "Error : can't get Riot source" fi tar xzf '/tmp/riot.tar.gz' - sudo cp -r riot-v${verctor_version}/. $final_path/ + sudo cp -r riot-v${riot_version}/. $final_path/ sudo chown www-data -R $final_path sudo chmod 740 -R $final_path }