Skip to content

Commit c461704

Browse files
committed
packages: Run flatpak/snap after regular package managers
1 parent 982710f commit c461704

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

neofetch

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,8 +1261,6 @@ get_packages() {
12611261
has "sorcery" && tot gaze installed
12621262
has "alps" && tot alps showinstalled
12631263
has "butch" && tot butch list
1264-
has "flatpak" && tot flatpak list
1265-
has "snap" && tot snap list && ((packages-=1))
12661264

12671265
# Counting files/dirs.
12681266
has "emerge" && dir /var/db/pkg/*/*/
@@ -1288,6 +1286,10 @@ get_packages() {
12881286
has "pkg" && tot pkg list
12891287
;;
12901288
esac
1289+
1290+
# List these last as they accompany regular package managers.
1291+
has "flatpak" && tot flatpak list
1292+
has "snap" && tot snap list && ((packages-=1))
12911293
;;
12921294

12931295
"Mac OS X" | "MINIX")

0 commit comments

Comments
 (0)