mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Need those classic option for noninteractive apt etc..
This commit is contained in:
parent
94abddf58d
commit
2def397a8a
1 changed files with 2 additions and 1 deletions
|
@ -13,8 +13,9 @@ _PREINSTALL_APT_DEPS()
|
||||||
log_small_title "Preinstalling apt dependencies before creating the initial snapshot..."
|
log_small_title "Preinstalling apt dependencies before creating the initial snapshot..."
|
||||||
RUN_INSIDE_LXC apt install $apt_deps || true
|
RUN_INSIDE_LXC apt install $apt_deps || true
|
||||||
|
|
||||||
|
apt="LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0"
|
||||||
# Execute the command given in argument in the container and log its results.
|
# Execute the command given in argument in the container and log its results.
|
||||||
lxc exec $LXC_NAME -t -- /bin/bash -c "apt install $apt_deps" | tee -a "$full_log" >/dev/null
|
lxc exec $LXC_NAME -t -- /bin/bash -c "$apt update; $apt install $apt_deps" | tee -a "$full_log" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue