mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 07:26:36 +08:00
修复loong64 zhuangzhuang交叉编译问题
Signed-off-by: gfdgd_xi <3025613752@qq.com>
This commit is contained in:
@@ -34,10 +34,10 @@ fi
|
||||
apt install -f -y
|
||||
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
||||
if [[ -f /sources-list/sources-$1.list ]]; then
|
||||
if [[ $(dpkg --print-architecture) == "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
|
||||
else
|
||||
if [[ $(dpkg --print-architecture) == "loong64" ]]; then
|
||||
if [[ $(dpkg --print-architecture) == "loong64" ]] || [[ $GXDE_CROSS_ARCH == "loong64" ]]; then
|
||||
cp /sources-list/sources-$1-loong64.list /etc/apt/sources.list.d -v
|
||||
else
|
||||
cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v
|
||||
|
||||
Reference in New Issue
Block a user