编译环境内置wget包

Signed-off-by: gfdgd_xi <3025613752@qq.com>
This commit is contained in:
2026-05-16 12:16:18 +08:00
parent 257ec720e1
commit d2e6e5dde1
@@ -33,7 +33,7 @@ fi
# echo "deb [trusted=true] https://deb.debian.org/debian-ports/ unreleased main" > /etc/apt/sources.list.d/debian-unreleased.list # echo "deb [trusted=true] https://deb.debian.org/debian-ports/ unreleased main" > /etc/apt/sources.list.d/debian-unreleased.list
#fi #fi
apt install -f -y apt install -f -y
apt install debian-ports-archive-keyring debian-archive-keyring -y apt install debian-ports-archive-keyring debian-archive-keyring wget -y
if [[ -f /sources-list/sources-$1.list ]]; then if [[ -f /sources-list/sources-$1.list ]]; then
if [[ $(dpkg --print-architecture) == "riscv64" ]] || [[ $GXDE_CROSS_ARCH == "riscv64" ]]; then if [[ $(dpkg --print-architecture) == "riscv64" ]] || [[ $GXDE_CROSS_ARCH == "riscv64" ]]; then
cp /sources-list/sources-$1-without-backport.list /etc/apt/sources.list.d -v cp /sources-list/sources-$1-without-backport.list /etc/apt/sources.list.d -v