Show the next setup command after staging a Debian package

This commit is contained in:
parkel committed 2026-11-24 11:55:11 +01:00
1 parent 7d0365e54f
commit b97036778e
2 files changed
+14 -2

No files matched your search

+9 -1
View File
@@ -1,7 +1,15 @@
#!/bin/sh #!/bin/sh
set -eu 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 exit 0
fi fi
+5 -1
View File
@@ -58,10 +58,14 @@ def build_package(source, wheel, ref, output):
f"Package: coulobre-panel\nVersion: {version}\n" f"Package: coulobre-panel\nVersion: {version}\n"
"Architecture: all\nSection: web\nPriority: optional\n" "Architecture: all\nSection: web\nPriority: optional\n"
"Maintainer: Hippogrief <info@hippogrief.nl>\n" "Maintainer: Hippogrief <info@hippogrief.nl>\n"
"Homepage: https://code.hosting.hippogrief.nl/hippogrief/coulobre\n"
"Depends: python3 (>= 3.12), python3-venv, ca-certificates, " "Depends: python3 (>= 3.12), python3-venv, ca-certificates, "
"openssh-client\n" "openssh-client\n"
"Description: Coulobre web hosting control panel\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) metadata.chmod(0o644)
sbin = root / "usr/sbin" sbin = root / "usr/sbin"