mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-24 05:35:32 +02:00
Add "--no-install-recommends"
This commit is contained in:
2
debian/scripts/setup_packages.sh
vendored
2
debian/scripts/setup_packages.sh
vendored
@@ -47,7 +47,7 @@ if [[ "$1" == "-install" ]]; then
|
||||
if ! dpkg -s "$i" >/dev/null 2>&1; then
|
||||
echo -n "$i is not installed. Installing... "
|
||||
check_package_preq >> /opt/scripts/setup_packages.log 2>&1
|
||||
if ! apt-get -q -y install "$i" >> /opt/scripts/setup_packages.log 2>&1; then
|
||||
if ! apt-get -q -y --no-install-recommends install "$i" >> /opt/scripts/setup_packages.log 2>&1; then
|
||||
echo "Failed."
|
||||
echo "For more details see \"/opt/scripts/setup_packages.log\"."
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user