Skip to content

Commit ecf7ea5

Browse files
authored
fastfetch for aarch64
1 parent e88020c commit ecf7ea5

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

core/tabs/applications-setup/fastfetch-setup.sh

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,19 @@ installFastfetch() {
99
pacman)
1010
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm fastfetch
1111
;;
12-
apt-get | nala)
13-
curl -sSLo /tmp/fastfetch.deb https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64.deb
14-
"$ESCALATION_TOOL" "$PACKAGER" install -y /tmp/fastfetch.deb
15-
rm /tmp/fastfetch.deb
16-
;;
12+
apt-get | nala)
13+
case "$ARCH" in
14+
x86_64)
15+
DEB_FILE="fastfetch-linux-amd64.deb"
16+
;;
17+
aarch64)
18+
DEB_FILE="fastfetch-linux-aarch64.deb"
19+
;;
20+
esac
21+
curl -sSLo "/tmp/fastfetch.deb" "https://github.com/fastfetch-cli/fastfetch/releases/latest/download/$DEB_FILE"
22+
"$ESCALATION_TOOL" "$PACKAGER" install -y /tmp/fastfetch.deb
23+
rm /tmp/fastfetch.deb
24+
;;
1725
apk)
1826
"$ESCALATION_TOOL" "$PACKAGER" add fastfetch
1927
;;

0 commit comments

Comments
 (0)