Finalizes Lts/Tests migration and RPM to DEB packaging port

This commit is contained in:
torsten committed 2026-11-19 20:12:27 +01:00
1 parent faa9244421
commit 7810c9ec59
31 files changed
+1144 -540

No files matched your search

@@ -0,0 +1,25 @@
#!/bin/sh
set -e
# postinst script for legatus-qt6-sv
if [ "$1" = "configure" ]; then
# Update linker cache
ldconfig
# Create log directory if it doesn't exist
LOGDIR="/opt/legatus/sv/../LOG"
if [ ! -e "${LOGDIR}" ]; then
mkdir -p "${LOGDIR}"
chown root:root "${LOGDIR}"
chmod 1777 "${LOGDIR}"
fi
# Enable systemd service if it exists
if [ -f "/etc/systemd/system/lts_sv.service" ]; then
systemctl daemon-reload
systemctl enable lts_sv.service 2>/dev/null || true
fi
fi
exit 0