Merge pull request #1018 from konimex/agnosticpkg

Packages: Add support for Flatpak and Snap
This commit is contained in:
Dylan Araps 2018-06-03 20:26:10 +00:00 committed by GitHub
commit 982710fff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1261,6 +1261,8 @@ 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/*/*/