Automatically accept install

This commit is contained in:
Maitreya Patni 2023-10-10 14:07:53 +05:30 committed by GitHub
parent 089e288f27
commit 66c092272b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,8 +39,8 @@ if [ -z "$1" ]
then
echo "Installing OpenCV from source"
if [[ -x "$(command -v apt)" ]]; then
apt update && apt install build-essential git
apt install cmake ffmpeg libavformat-dev libdc1394-dev libgtk2.0-dev \
apt update && apt install -y build-essential git
apt install -y cmake ffmpeg libavformat-dev libdc1394-dev libgtk2.0-dev \
libjpeg-dev libpng-dev libswscale-dev libtbb2 libtbb-dev \
libtiff-dev
elif [[ -x "$(command -v dnf)" ]]; then