mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
16 lines
452 B
Bash
Executable File
16 lines
452 B
Bash
Executable File
#!/bin/bash
|
|
# @license MIT, Insality 2021
|
|
# @source https://github.com/Insality/druid
|
|
|
|
echo "Run bash for $1"
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
is_defree_installed=$(pip3 list --disable-pip-version-check | grep -E "deftree")
|
|
if [ -z "$is_defree_installed" ]; then
|
|
echo "The python deftree is not installed. Please install it via"
|
|
echo "pip3 install deftree"
|
|
exit 0
|
|
fi
|
|
|
|
python3 $DIR/setup_layers.py $@
|