mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
cmdeploy: on ubuntu/debian, test if python3-dev is installed
This commit is contained in:
@@ -1,5 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
if [[ $(lsb_release -is 2> /dev/null) == "Ubuntu" || $(lsb_release -is 2> /dev/null) == "Debian" ]]
|
||||||
|
then
|
||||||
|
if [ $(dpkg -l | grep python3-dev 2>&1 /dev/null) ]
|
||||||
|
then
|
||||||
|
echo "You need to install python3-dev for installing the other dependencies."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
python3 -m venv --upgrade-deps venv
|
python3 -m venv --upgrade-deps venv
|
||||||
|
|
||||||
venv/bin/pip install -e chatmaild
|
venv/bin/pip install -e chatmaild
|
||||||
|
|||||||
Reference in New Issue
Block a user