You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: linuxmac.zsh
+2-54
Original file line number
Diff line number
Diff line change
@@ -22,59 +22,7 @@ case "$cpuHardware:l" in
22
22
if [ "$1:l"="fedora" ] || [ "$1"="" ];then# Check if the first parameter is either fedora or left blank
23
23
echo"Installing fedora..."
24
24
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
63
25
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."
65
27
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)
0 commit comments