mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-02 11:19:25 -05:00
check for poetry installation and exit if no installation found
This commit is contained in:
parent
b2556a56e0
commit
c8a7cd02e1
@ -2,6 +2,14 @@
|
||||
OS=$(uname -s)
|
||||
|
||||
if [ "$OS" == "Linux" ]; then
|
||||
# Check poetry installation and exit if no installation found.
|
||||
if ! command -v poetry 2>&1 >/dev/null
|
||||
then
|
||||
echo "Could not detect Poetry installation. Please make sure you install Poetry first.
|
||||
See https://python-poetry.org/docs/#installation or run pip3 install poetry"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# setup environment
|
||||
cd cli
|
||||
poetry install
|
||||
|
Loading…
x
Reference in New Issue
Block a user