Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/packaging/deb/legatus-qt6-ws/DEBIAN/postinst
T

21 lines
426 B
Bash

#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
ldconfig
# Create log directory
LOGDIR="/opt/legatus/ws/../LOG"
if [ ! -e "${LOGDIR}" ]; then
mkdir -p "${LOGDIR}"
chown root:root "${LOGDIR}"
chmod 1777 "${LOGDIR}"
fi
# Make automount script executable
if [ -f "/opt/legatus/ws/bin/automount.sh" ]; then
chmod +x /opt/legatus/ws/bin/automount.sh
fi
fi
exit 0