From a1f5e8b8343381785ae081c326f7ad0f37b268d3 Mon Sep 17 00:00:00 2001 From: nnyyxxxx Date: Fri, 20 Sep 2024 16:00:16 -0400 Subject: [PATCH 1/2] fix problems with debian 12 --- core/tabs/applications-setup/fastfetch-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/tabs/applications-setup/fastfetch-setup.sh b/core/tabs/applications-setup/fastfetch-setup.sh index 4eca3abd8..24da138d5 100644 --- a/core/tabs/applications-setup/fastfetch-setup.sh +++ b/core/tabs/applications-setup/fastfetch-setup.sh @@ -9,6 +9,11 @@ installFastfetch() { pacman) "$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm fastfetch ;; + apt-get|nala) + curl -sSLo /tmp/fastfetch.deb https://github.com/fastfetch-cli/fastfetch/releases/download/2.25.0/fastfetch-linux-amd64.deb + "$ESCALATION_TOOL" dpkg -i /tmp/fastfetch.deb + rm /tmp/fastfetch.deb + ;; *) "$ESCALATION_TOOL" "$PACKAGER" install -y fastfetch ;; From 6f3492a66185019ca3ece4905213937ca449a4ec Mon Sep 17 00:00:00 2001 From: nnyyxxxx Date: Fri, 20 Sep 2024 16:08:29 -0400 Subject: [PATCH 2/2] Add support for uptodate releases --- core/tabs/applications-setup/fastfetch-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tabs/applications-setup/fastfetch-setup.sh b/core/tabs/applications-setup/fastfetch-setup.sh index 24da138d5..a140a5d87 100644 --- a/core/tabs/applications-setup/fastfetch-setup.sh +++ b/core/tabs/applications-setup/fastfetch-setup.sh @@ -10,7 +10,7 @@ installFastfetch() { "$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm fastfetch ;; apt-get|nala) - curl -sSLo /tmp/fastfetch.deb https://github.com/fastfetch-cli/fastfetch/releases/download/2.25.0/fastfetch-linux-amd64.deb + curl -sSLo /tmp/fastfetch.deb https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64.deb "$ESCALATION_TOOL" dpkg -i /tmp/fastfetch.deb rm /tmp/fastfetch.deb ;;