diff --git a/deploy/debian/postinst b/deploy/debian/postinst index 2321b6b..6bf8802 100644 --- a/deploy/debian/postinst +++ b/deploy/debian/postinst @@ -1,7 +1,15 @@ #!/bin/sh set -eu -if [ "$1" != configure ] || [ ! -e /etc/coulobre/panel.env ]; then +if [ "$1" != configure ]; then + exit 0 +fi + +if [ ! -e /etc/coulobre/panel.env ]; then + printf '%s\n' \ + 'The Coulobre installer is ready. After APT exits, start setup with the command below.' \ + ' sudo coulobre-install --interactive' \ + 'Run coulobre-install --help for config-file and web setup.' exit 0 fi diff --git a/tools/build_deb.py b/tools/build_deb.py index 6d54405..855fbb2 100644 --- a/tools/build_deb.py +++ b/tools/build_deb.py @@ -58,10 +58,14 @@ def build_package(source, wheel, ref, output): f"Package: coulobre-panel\nVersion: {version}\n" "Architecture: all\nSection: web\nPriority: optional\n" "Maintainer: Hippogrief \n" + "Homepage: https://code.hosting.hippogrief.nl/hippogrief/coulobre\n" "Depends: python3 (>= 3.12), python3-venv, ca-certificates, " "openssh-client\n" "Description: Coulobre web hosting control panel\n" - " Deployment assets for supported Ubuntu and Debian systems.\n" + " Deployment package for Ubuntu 26.04 LTS (resolute) and " + "Debian 13 (trixie).\n" + " On a fresh host, run sudo coulobre-install --interactive " + "after APT exits.\n" ) metadata.chmod(0o644) sbin = root / "usr/sbin"