Skip to content

Commit 90bf0a3

Browse files
Made the script stable and ready for release
1 parent 915e66a commit 90bf0a3

File tree

1 file changed

+2
-54
lines changed

1 file changed

+2
-54
lines changed

Diff for: linuxmac.zsh

+2-54
Original file line numberDiff line numberDiff line change
@@ -22,59 +22,7 @@ case "$cpuHardware:l" in
2222
if [ "$1:l" = "fedora" ] || [ "$1" = "" ]; then # Check if the first parameter is either fedora or left blank
2323
echo "Installing fedora..."
2424
curl https://alx.sh | sh
25-
# Below this is the switch statement for all distros that can be run on Apple Silicon CPUs, even though they are unimplemented.
26-
elif [ "$1:l" = "alpinelinux" ]; then
27-
#echo "Alpine Linux is currently not implemented, wait for a future release"
28-
curl https://arvanta.net/asahi/aai.sh | sh
29-
elif [ "$1:l" = "arch" ]; then
30-
#echo "Arch is currently not implemented, wait for a future release."
31-
echo "This one requires stupid config stuff go to https://github.com/asahi-alarm/asahi-alarm/blob/main/manual-install.md and read about it after the installer is done. (Just click the link and it should take you right there.)"
32-
curl -SL https://github.com/asahi-alarm/asahi-alarm/releases/download/installer/installer-bootstrap.sh | sh
33-
elif [ "$1:l" = "aosc" ]; then
34-
#echo "AOSC is currently not implemented, wait for a future release."
35-
curl -sSf https://repo.aosc.io/get-oma.sh | sudo sh
36-
elif [ "$1:l" = "centos" ]; then
37-
#echo "CentOS is currently not implemented, wait for a future release."
38-
echo "Root password for this is centosstream"
39-
curl https://ecurtin.fedorapeople.org/centos.sh | sh
40-
elif [ "$1:l" = "debian" ]; then
41-
# The Debian installer needs to be tested outside of this script because the documentation for it might just be wrong.
42-
echo "Debian is currently not implemented, wait for a future release."
43-
elif [ "$1:l" = "deepin" ]; then
44-
# More research is necessary for this one since it's in a different language
45-
echo "Deepin is currently not implemented, wait for a future release."
46-
elif [ "$1:l" = "gentoo" ]; then
47-
# After reading the guide, AAAAAAAAAAAAAA
48-
echo "Gentoo is currently not implemented, wait for a future release."
49-
elif [ "$1:l" = "nixos" ]; then
50-
# Later.
51-
echo "NixOS is currently not implemented, wait for a future release."
52-
elif [ "$1:l" = "rockylinux" ]; then
53-
#echo "Rocky Linux is currently not implemented, wait for a future release."
54-
echo "Root password for this is rocky"
55-
curl https://leifliddy.com/rocky.sh | sh
56-
elif [ "$1:l" = "ubuntu" ]; then
57-
#echo "Ubuntu is currently not implemented, wait for a future release."
58-
curl -sL https://ubuntuasahi.org/install | sh
59-
elif [ "$1:l" = "voidlinux" ]; then
60-
#echo "Void Linux is currently not implemented, wait for a future release."
61-
echo "Root password for this is voidlinux"
62-
curl -L https://tinyurl.com/void-asahi | sh
6325
else
64-
echo "The distro you have selected currently does not support Apple Silicon (or you misspelled it) and there are currently no plans to implement it."
26+
echo "The distro you have selected currently has not been fully implemented into this script."
6527
fi
66-
esac
67-
68-
69-
# sysctl -a | grep machdep.cpu.vendor should find out if the cpu is intel or apple (DO NOT GET RID OF THIS COMMENT UNTIL WE DEFINITELY HAVE DETECTION WORKING FOR BOTH CPU TYPES)
70-
# Apparently sudo -s works on mac?
71-
72-
# Old code for Fedora Builder
73-
# curl https://leifliddy.com/fedora.sh
74-
# git clone https://github.com/leifliddy/asahi-fedora-builder.git
75-
# Fetches necessary files for installation of Fedora
76-
# cd asahi-fedora-builder # Go to the downloaded files
77-
# sudo zsh build.sh
78-
# cd ..
79-
# sudo zsh fedora.sh
80-
# Executes the files
28+
esac

0 commit comments

Comments
 (0)