1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-09-07 16:23:30 -04:00

Fix rosetta logic issues

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-01-22 04:22:35 -07:00
parent 4071009728
commit 8cb97dfeb9
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -147,12 +147,11 @@ flatpak update -y
if [ -f /media/psf/RosettaLinux/rosetta ]; then
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/rosetta-sources.list | sudo tee /etc/apt/sources.list
rm -rf /etc/apt/sources.list.d/proposed.list
sudo dpkg --add-architecture amd64
sudo apt update
sudo apt full-upgrade -y
fi
sudo dpkg --add-architecture amd64
sudo apt update
sudo apt full-upgrade -y
# Install Microsoft Edge if x86_64
MACHINE_TYPE=$(uname -m)
if [ "${MACHINE_TYPE}" == 'x86_64' ] || [ -f /media/psf/RosettaLinux/rosetta ]; then