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:
parent
4071009728
commit
8cb97dfeb9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user