This commit is contained in:
Andrea Cavalli 2023-08-25 22:58:05 +02:00
parent f58268c859
commit 3ce19cd092

View File

@ -4,8 +4,8 @@
export DEBIAN_FRONTEND=noninteractive
dpkg --add-architecture armhf
sed 's/ http/ \[arch=amd64,i386\] http/' -i /etc/apt/sources.list
[ -d "/etc/apt/sources.list.d" ] && find /etc/apt/sources.list.d -name "*.list" -type f -exec sed 's/ http/ \[arch=amd64,i386\] http/' -i {} \;
sed 's/deb http/deb \[arch=amd64,i386\] http/' -i /etc/apt/sources.list
[ -d "/etc/apt/sources.list.d" ] && find /etc/apt/sources.list.d -name "*.list" -type f -exec sed 's/deb http/deb \[arch=amd64,i386\] http/' -i {} \;
echo "# tdlight multiarch" > /etc/apt/sources.list.d/tdlight-multiarch.list
echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(lsb_release -cs) main universe restricted multiverse" >> /etc/apt/sources.list.d/tdlight-multiarch.list
echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(lsb_release -cs)-updates main universe restricted multiverse" >> /etc/apt/sources.list.d/tdlight-multiarch.list