#!/bin/sh set -eu # Wrapper to run the installed TUI using the app's virtualenv. # The venv is created/updated by the package postinst. if [ -x /opt/sensorpajen/venv/bin/sensorpajen-tui ]; then exec /opt/sensorpajen/venv/bin/sensorpajen-tui "$@" fi # Fallback (should normally not be needed) exec /opt/sensorpajen/venv/bin/python -m sensorpajen.tui.app "$@"