Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
83925702
Commit
83925702
authored
Apr 30, 2019
by
spacelike
Committed by
Muhammad Herdiansyah
Apr 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use guix directly to report package count instead of counting directories
parent
58d8bde7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
neofetch
neofetch
+1
-1
No files found.
neofetch
View file @
83925702
...
@@ -1331,7 +1331,6 @@ get_packages() {
...
@@ -1331,7 +1331,6 @@ get_packages() {
{
{
has "emerge" && dir ${br_prefix}/var/db/pkg/*/*/
has "emerge" && dir ${br_prefix}/var/db/pkg/*/*/
has "nix-env" && dir ${br_prefix}/nix/store/*/
has "nix-env" && dir ${br_prefix}/nix/store/*/
has "guix" && dir ${br_prefix}/gnu/store/*/
has "Compile" && dir ${br_prefix}/Programs/*/
has "Compile" && dir ${br_prefix}/Programs/*/
has "eopkg" && dir ${br_prefix}/var/lib/eopkg/package/*
has "eopkg" && dir ${br_prefix}/var/lib/eopkg/package/*
has "crew" && dir ${br_prefix}/usr/local/etc/crew/meta/*.filelist
has "crew" && dir ${br_prefix}/usr/local/etc/crew/meta/*.filelist
...
@@ -1342,6 +1341,7 @@ get_packages() {
...
@@ -1342,6 +1341,7 @@ get_packages() {
# Other (Needs complex command)
# Other (Needs complex command)
has "kpm-pkg" && ((packages+="$(kpm --get-selections | grep -cv deinstall$)"))
has "kpm-pkg" && ((packages+="$(kpm --get-selections | grep -cv deinstall$)"))
has "guix" && ( manager="guix-system" && tot guix package -p /run/current-system/profile -I ; manager="guix-user" && tot guix package -I )
# pkginfo is also the name of a python package manager which is painfully slow.
# pkginfo is also the name of a python package manager which is painfully slow.
# TODO: Fix this somehow.
# TODO: Fix this somehow.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment