mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-03-25 01:56:43 +07:00
Modify apt to apt-get
This commit is contained in:
@@ -136,7 +136,7 @@ install_deb_chroot()
|
||||
fi
|
||||
|
||||
[[ $NO_APT_CACHER != yes ]] && local apt_extra="-o Acquire::http::Proxy=\"http://${APT_PROXY_ADDR:-localhost:3142}\" -o Acquire::http::Proxy::localhost=\"DIRECT\""
|
||||
LC_ALL=C LANG=C chroot "${SDCARD}" /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt -yqq \
|
||||
LC_ALL=C LANG=C chroot "${SDCARD}" /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get -yqq \
|
||||
$apt_extra --no-install-recommends install ./root/$name" >> "${DEST}"/debug/install.log 2>&1
|
||||
|
||||
rm -f "${SDCARD}/root/${name}"
|
||||
|
||||
Reference in New Issue
Block a user