osgos_postinstall/deb_dist/postinstall-1.0.1/deb/postinst

12 lines
336 B
Bash
Executable file

#!/bin/bash
set -e
mkdir -p /var/lib/postinstall
if [ ! -f /var/lib/postinstall/first_run_done ]; then
chmod +x /usr/share/postinstall/postinstall_start.sh
cp /usr/share/postinstall/postinstall.service /etc/systemd/system/
systemctl enable postinstall.service
pip install --upgrade textual --break-system-packages
fi