setenv labels

This commit is contained in:
gauthiier 2021-12-06 18:19:02 +01:00
parent 4708e5ad46
commit 963fc48992

10
setenv
View File

@ -16,13 +16,13 @@ fi
source venv/bin/activate source venv/bin/activate
if [ ! "$(pip list | grep -F etherdump)" ] if [ ! "$(pip list | grep -F pppadump)" ]
then then
echo "etherdump IS NOT installed" echo "pppadump IS NOT installed"
if [[ "$(read -e -p 'pip install etherdump? [y/N]> '; echo $REPLY)" == [Yy]* ]] if [[ "$(read -e -p 'pip install pppadump? [y/N]> '; echo $REPLY)" == [Yy]* ]]
then then
echo "Pip installing etherdump" echo "Pip installing pppadump"
pip install -e etherdump/ pip install -e pppadump/
echo "Done." echo "Done."
else else
echo "Aborting..." echo "Aborting..."