This commit is contained in:
Andrea Cavalli 2023-08-25 23:01:11 +02:00
parent 3ce19cd092
commit cf2b478dcb

View File

@ -4,7 +4,9 @@
export DEBIAN_FRONTEND=noninteractive
dpkg --add-architecture armhf
cat /etc/apt/sources.list
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 cat {} \;
[ -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