1
0
Эх сурвалжийг харах

CI: Avoid installing recommended package on Ubuntu

tytan652 2 жил өмнө
parent
commit
070c2ec616

+ 6 - 6
CI/linux/01_install_dependencies.sh

@@ -17,7 +17,7 @@ install_build-deps() {
     status "Install OBS build dependencies"
     trap "caught_error 'install_build-deps'" ERR
 
-    sudo apt-get install -y $@
+    sudo apt-get install --no-install-recommends -y $@
 }
 
 install_obs-deps() {
@@ -26,9 +26,9 @@ install_obs-deps() {
     trap "caught_error 'install_obs-deps'" ERR
 
     if [ -z "${DISABLE_PIPEWIRE}" ]; then
-        sudo apt-get install -y $@ libpipewire-0.3-dev
+        sudo apt-get install --no-install-recommends -y $@ libpipewire-0.3-dev
     else
-        sudo apt-get install -y $@
+        sudo apt-get install --no-install-recommends -y $@
     fi
 }
 
@@ -37,7 +37,7 @@ install_qt5-deps() {
     status "Install Qt5 dependencies"
     trap "caught_error 'install_qt5-deps'" ERR
 
-    sudo apt-get install -y $@
+    sudo apt-get install --no-install-recommends -y $@
 }
 
 install_qt6-deps() {
@@ -47,7 +47,7 @@ install_qt6-deps() {
 
     _QT6_AVAILABLE="$(sudo apt-cache madison ${1})"
     if [ "${_QT6_AVAILABLE}" ]; then
-        sudo apt-get install -y $@
+        sudo apt-get install --no-install-recommends -y $@
     fi
 }
 
@@ -77,7 +77,7 @@ install_plugin-deps() {
     status "Install plugin dependencies"
     trap "caught_error 'install_plugin-deps'" ERR
 
-    sudo apt-get install -y $@
+    sudo apt-get install --no-install-recommends -y $@
 }
 
 install_dependencies() {