[arch-commits] Commit in matrix-synapse/trunk (PKGBUILD synapse.install)

Johannes Löthberg demize at archlinux.org
Fri Oct 4 13:21:16 UTC 2019


    Date: Friday, October 4, 2019 @ 13:21:15
  Author: demize
Revision: 512726

upgpkg: matrix-synapse 1.4.0-2

Modified:
  matrix-synapse/trunk/PKGBUILD
  matrix-synapse/trunk/synapse.install

-----------------+
 PKGBUILD        |    5 +----
 synapse.install |    7 +++++--
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-04 12:41:15 UTC (rev 512725)
+++ PKGBUILD	2019-10-04 13:21:15 UTC (rev 512726)
@@ -3,7 +3,7 @@
 
 pkgname=matrix-synapse
 pkgver=1.4.0
-pkgrel=1
+pkgrel=2
 
 pkgdesc="Matrix reference homeserver"
 url="https://github.com/matrix-org/synapse"
@@ -56,9 +56,6 @@
 	python setup.py install --root "$pkgdir" --optimize=1 --skip-build
 
 	install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
-	install -dm700 -o 198 -g 198 "$pkgdir"/var/lib/synapse/
-	cp -a synapse/res/ "$pkgdir"/var/lib/synapse/
-	chown -R 198:198 "$pkgdir"/var/lib/synapse/res
 
 	install -Dm644 contrib/systemd/log_config.yaml "$pkgdir"/etc/synapse/log_config.yaml
 	install -Dm644 "$srcdir"/sysusers-synapse.conf "$pkgdir"/usr/lib/sysusers.d/synapse.conf

Modified: synapse.install
===================================================================
--- synapse.install	2019-10-04 12:41:15 UTC (rev 512725)
+++ synapse.install	2019-10-04 13:21:15 UTC (rev 512726)
@@ -27,9 +27,12 @@
 # arg 1:  the new package version
 # arg 2:  the old package version
 post_upgrade() {
-	if [[ "$(vercmp "$2" 1.0.0-1)" -lt 0 ]]; then
+	if [[ "$(vercmp "$2" 1.4.0-2)" -lt 0 ]]; then
 		cat <<-EOF
-		==> Upstream email templates are now available in /var/lib/synapse/res/templates.
+		==> Upstream email templates are no longer available in /var/lib/synapse/res/templates.
+
+		    If you want to customize the templates, you can copy the default ones from
+		    /usr/lib/python3.7/site-packages/synapse/res/templates/
 		EOF
 	fi
 }



More information about the arch-commits mailing list