Automatically accept install
This commit is contained in:
parent
089e288f27
commit
66c092272b
|
@ -39,10 +39,10 @@ if [ -z "$1" ]
|
||||||
then
|
then
|
||||||
echo "Installing OpenCV from source"
|
echo "Installing OpenCV from source"
|
||||||
if [[ -x "$(command -v apt)" ]]; then
|
if [[ -x "$(command -v apt)" ]]; then
|
||||||
apt update && apt install build-essential git
|
apt update && apt install -y build-essential git
|
||||||
apt install cmake ffmpeg libavformat-dev libdc1394-dev libgtk2.0-dev \
|
apt install -y cmake ffmpeg libavformat-dev libdc1394-dev libgtk2.0-dev \
|
||||||
libjpeg-dev libpng-dev libswscale-dev libtbb2 libtbb-dev \
|
libjpeg-dev libpng-dev libswscale-dev libtbb2 libtbb-dev \
|
||||||
libtiff-dev
|
libtiff-dev
|
||||||
elif [[ -x "$(command -v dnf)" ]]; then
|
elif [[ -x "$(command -v dnf)" ]]; then
|
||||||
dnf update && dnf install cmake gcc gcc-c git
|
dnf update && dnf install cmake gcc gcc-c git
|
||||||
dnf install ffmpeg-devel libdc1394-devel gtk2-devel \
|
dnf install ffmpeg-devel libdc1394-devel gtk2-devel \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user