summarylogtreecommitdiffstats
path: root/dendrite.install
blob: 19f490e19ae727da341d02a33bf395157471c76c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_upgrade(){
 # notify about breaking changes
 # https://wiki.archlinux.org/title/PKGBUILD#install
 if [[ $1 != 0.6* ]] && [[ $2 == 0.6* ]]; then
  cat <<INFO

Dendrite is now using configuration v2, as it moved from Kafka to NATS Jetstream.
You are advised to backup your previous configuration located at

    /etc/dendrite/config.yaml

and generate a new one either copying

    /etc/dendrite/config-example.yaml

or by running

    dendrite-generate-config

INFO
 fi
}