#!/bin/bash

post_upgrade() {
	cat <<EOF
:: The Zed remote server binary must be placed in
   ~/.zed_server/zed-remote-server-{RELEASE_CHANNEL}-{VERSION} on the server,
   e.g., ~/.zed_server/zed-remote-server-stable-${1%-*}.
   The version must exactly match the version of Zed itself you are using.
   If you are not using the Arch package for Zed, this binary will be useless.

:: This package installs the Zed remote server binary in a suitable hierarchy.
   To make use of this binary, create the following symlink once for each user:

     $ ln -sv /usr/lib/zed-remote-server -T ~/.zed_server

   This symlink will remain valid after upgrading this package.

EOF
}

post_install() {
	post_upgrade "$@"
}
