This commit is contained in:
Jorijn van der Graaf 2026-11-01 18:35:23 +01:00
commit 1ea50c50bc
62 changed files with 9982 additions and 608 deletions

View file

@ -0,0 +1,21 @@
# SPDX-License-Identifier: LGPL-3.0-only
# SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
post_install() {
echo "nostrod and the nostro CLI come from a Flatpak; install it system-wide:"
echo " flatpak install --system net.catcrafts.Nostro.flatpakref"
echo "(packaging/flatpak/ in nostro's source), or from a local build: flatpak install --system <repo> net.catcrafts.Nostro"
}
post_upgrade() {
# A nostrod still running keeps the old files until it ends.
systemctl try-restart nostrod.service
}
pre_remove() {
systemctl stop nostrod.service
}
post_remove() {
echo "The bank connections stay in /var/lib/nostro; remove that directory to forget them, and revoke the API keys in the bank's app."
}