diff options
author | Marcus Hoffmann | 2019-12-17 22:43:27 +0100 |
---|---|---|
committer | Marcus Hoffmann | 2019-12-17 23:01:46 +0100 |
commit | fd72b7f5800804da935b97d0eea5c0517a9e15c6 (patch) | |
tree | 99f4e10d7b7f2733eb70ae77814dd2b8fdb05745 /matrix-registration.install | |
download | aur-fd72b7f5800804da935b97d0eea5c0517a9e15c6.tar.gz |
initial commit
Diffstat (limited to 'matrix-registration.install')
-rw-r--r-- | matrix-registration.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/matrix-registration.install b/matrix-registration.install new file mode 100644 index 000000000000..d5810bdf7bd0 --- /dev/null +++ b/matrix-registration.install @@ -0,0 +1,13 @@ +#!/bin/bash + +# arg 1: the new package version +post_install() { + if [[ ! -e /var/lib/matrix-registration/config.yaml ]]; then + cat <<-EOF + ==> A configuration file called config.yaml needs to be created before you can start + the matrix-registration server. + + You can start from /etc/matrix-registration/config.sample.yaml. + EOF + fi +} |