mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
synapse: install example config files into examples dir
Installing them suddenly in target path triggered xbps bug destroying previous configurations.
This commit is contained in:
parent
dab19f1397
commit
5758e4ccbd
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'synapse'
|
# Template file for 'synapse'
|
||||||
pkgname=synapse
|
pkgname=synapse
|
||||||
version=1.49.0
|
version=1.49.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-jsonschema python3-frozendict python3-canonicaljson
|
depends="python3-jsonschema python3-frozendict python3-canonicaljson
|
||||||
|
@ -20,7 +20,6 @@ homepage="https://github.com/matrix-org/synapse"
|
||||||
changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
|
changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
|
||||||
distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
|
distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
|
||||||
checksum=3c1b73eb36ec3af00868707b929f9b9d1faae9ccc4022c2c46bdb025ef0ead8e
|
checksum=3c1b73eb36ec3af00868707b929f9b9d1faae9ccc4022c2c46bdb025ef0ead8e
|
||||||
conf_files="/etc/synapse/homeserver.yaml /etc/synapse/log.yaml"
|
|
||||||
|
|
||||||
system_accounts="synapse"
|
system_accounts="synapse"
|
||||||
synapse_homedir="/var/lib/synapse"
|
synapse_homedir="/var/lib/synapse"
|
||||||
|
@ -36,6 +35,6 @@ do_check() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv synapse
|
vsv synapse
|
||||||
|
|
||||||
vinstall docs/sample_config.yaml 644 etc/synapse homeserver.yaml
|
vsconf docs/sample_config.yaml homeserver.yaml
|
||||||
vinstall docs/sample_log_config.yaml 644 etc/synapse log.yaml
|
vsconf docs/sample_log_config.yaml log.yaml
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue