User Tools

Site Tools


infra:matrix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
infra:matrix [2020-05-02 22:34] – [Installation technique] Mise à jour (suppression du texte obsolète) Fabieninfra:matrix [2020-05-07 09:27] – [Installation technique] Leo
Line 75: Line 75:
  
 Dépôt git de la config / scripts d'install prévus ici : https://git.interhacker.space/fuz/synapse Dépôt git de la config / scripts d'install prévus ici : https://git.interhacker.space/fuz/synapse
 +
 +
 +=== Client riot-web ===
 +
 +Mise a jour :
 +
 +<code>
 +#!/bin/bash
 +
 +if [ -z "$1" ]
 +then
 + echo "#####################"
 + echo "#####################"
 + echo "###"
 + echo "## Voir disponibilité des dernières versions ici : https://github.com/vector-im/riot-web/releases"
 + echo "##"
 + echo "## Exemples :"
 + echo "## $0 v1.6.0"
 + echo "## $0 v1.6.0-rc.6"
 + echo "###"
 + echo "#####################"
 + echo "#####################"
 + exit 1
 +fi
 +
 +set -eux
 +
 +version="$1"
 +
 +cd /var/www/fuz.re/riot
 +
 +rm -rf "riot-$version.tar.gz"
 +wget "https://github.com/vector-im/riot-web/releases/download/$version/riot-$version.tar.gz" -O "riot-$version.tar.gz"
 +wget "https://github.com/vector-im/riot-web/releases/download/$version/riot-$version.tar.gz.asc" -O "riot-$version.tar.gz.asc"
 +
 +gpg --verify "riot-$version.tar.gz.asc" "riot-$version.tar.gz"
 +
 +rm -rf "riot-$version"
 +tar -xvf "riot-$version.tar.gz"
 +
 +cp config.json "riot-$version/"
 +
 +if echo "$version" | grep rc
 +then
 + ln -fns "riot-$version" rc
 +else
 + ln -fns "riot-$version" site
 +fi
 +</code>
 +
 +Version a jour du script situee derriere le chemin : /var/www/fuz.re/riot/install-riot-version.sh
 +
infra/matrix.txt · Last modified: 2023-02-02 22:06 by 127.0.0.1