packages: Run flatpak/snap after regular package managers
This commit is contained in:
parent
982710fff0
commit
c461704b36
6
neofetch
6
neofetch
|
@ -1261,8 +1261,6 @@ get_packages() {
|
||||||
has "sorcery" && tot gaze installed
|
has "sorcery" && tot gaze installed
|
||||||
has "alps" && tot alps showinstalled
|
has "alps" && tot alps showinstalled
|
||||||
has "butch" && tot butch list
|
has "butch" && tot butch list
|
||||||
has "flatpak" && tot flatpak list
|
|
||||||
has "snap" && tot snap list && ((packages-=1))
|
|
||||||
|
|
||||||
# Counting files/dirs.
|
# Counting files/dirs.
|
||||||
has "emerge" && dir /var/db/pkg/*/*/
|
has "emerge" && dir /var/db/pkg/*/*/
|
||||||
|
@ -1288,6 +1286,10 @@ get_packages() {
|
||||||
has "pkg" && tot pkg list
|
has "pkg" && tot pkg list
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# List these last as they accompany regular package managers.
|
||||||
|
has "flatpak" && tot flatpak list
|
||||||
|
has "snap" && tot snap list && ((packages-=1))
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X" | "MINIX")
|
"Mac OS X" | "MINIX")
|
||||||
|
|
Reference in New Issue