File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
core/tabs/applications-setup Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,19 @@ installFastfetch() {
9
9
pacman)
10
10
" $ESCALATION_TOOL " " $PACKAGER " -S --needed --noconfirm fastfetch
11
11
;;
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
+ ;;
17
25
apk)
18
26
" $ESCALATION_TOOL " " $PACKAGER " add fastfetch
19
27
;;
You can’t perform that action at this time.
0 commit comments