Skip to content

Commit

Permalink
Update install_dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SunFounder authored Dec 6, 2021
1 parent 8b25bc5 commit a34b5f1
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions install_dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ function print_result(){
else
echo -e "Failed"
fi
echo -e "libjpeg8-dev \c"
if $is_installed_libjpeg8_dev; then
echo -e "Success"
else
echo -e "Failed"
fi
# echo -e "libjpeg8-dev \c"
# if $is_installed_libjpeg8_dev; then
# echo -e "Success"
# else
# echo -e "Failed"
# fi
}

###################################
Expand Down Expand Up @@ -120,20 +120,20 @@ else
fi
fi

echo -e "\nInstalling libjpeg8-dev \n"
if sudo apt-get install libjpeg8-dev -y; then
echo -e " Successfully installed libjpeg8-dev \n"
is_installed_libjpeg8_dev=true
else
echo -e " Failed to installed libjpeg8-dev \n"
echo -e " Do you want to skip this? \c"
if_continue
if [ $? = 1 ] ; then
echo -e " Skipped libjpeg8-dev installation."
else
end
fi
fi
# echo -e "\nInstalling libjpeg8-dev \n"
# if sudo apt-get install libjpeg8-dev -y; then
# echo -e " Successfully installed libjpeg8-dev \n"
# is_installed_libjpeg8_dev=true
# else
# echo -e " Failed to installed libjpeg8-dev \n"
# echo -e " Do you want to skip this? \c"
# if_continue
# if [ $? = 1 ] ; then
# echo -e " Skipped libjpeg8-dev installation."
# else
# end
# fi
# fi

###################################
# Install RPi Car V2 Module
Expand Down

0 comments on commit a34b5f1

Please sign in to comment.