setenv catch pppadum not fetched

This commit is contained in:
gauthiier 2021-12-10 13:51:08 +01:00
parent 2f32bbb82f
commit 76d39068e3

7
setenv
View File

@ -22,8 +22,13 @@ then
if [[ "$(read -e -p 'pip install pppadump? [y/N]> '; echo $REPLY)" == [Yy]* ]]
then
echo "Pip installing pppadump"
pip install -e pppadump/
if [ ! "$(pip install -e pppadump/)" ]
echo "pppadum doesn't seem to be feteched yet. Run the following git command to do so:"
echo "> git submodule update --init --recursive"
return
else
echo "Done."
fi
else
echo "Aborting..."
return