tools/debian-package/evio/DEBIAN/postinst

10 lines
231 B
Bash
Executable File

#!/bin/bash
cd /opt/evio
python3.8 -m venv venv
source venv/bin/activate
pip3 --no-cache-dir install wheel
pip3 --no-cache-dir install psutil slixmpp requests simplejson ryu
deactivate
systemctl daemon-reload
systemctl enable evio