Clarify APT package setup and first-run instructions #181
No files matched your search
@@ -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
|
||||
|
||||
|
||||
+5
-1
@@ -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 <info@hippogrief.nl>\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"
|
||||
|
||||
Reference in new issue
Block a user