1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-22 17:41:32 -05:00

Rosetta support

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-01-20 06:05:07 -07:00
parent ed63904bb6
commit 166b42d1fa
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -192,6 +192,9 @@ deb [arch=amd64] http://ports.ubuntu.com/ubuntu-ports jammy-security multiverse
# For information about how to configure apt package sources, # For information about how to configure apt package sources,
# see the sources.list(5) manual.' | sudo tee /etc/apt/sources.list # see the sources.list(5) manual.' | sudo tee /etc/apt/sources.list
sudo dpkg --add-architecture amd64
sudo apt update
# Install Microsoft Edge if x86_64 # Install Microsoft Edge if x86_64
MACHINE_TYPE=$(uname -m) MACHINE_TYPE=$(uname -m)
if [ "${MACHINE_TYPE}" == 'x86_64' ] || [ -f /media/psf/RosettaLinux/rosetta ]; then if [ "${MACHINE_TYPE}" == 'x86_64' ] || [ -f /media/psf/RosettaLinux/rosetta ]; then