Skip to content

Commit 144ccd6

Browse files
committed
add support for dsm packages
1 parent 40b29c2 commit 144ccd6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pfetch

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,16 +799,20 @@ get_pkgs() {
799799
has Compile && count_pkg compile 0 printf '%s\n' /Programs/*/
800800
has inary && count_pkg inary 0 printf '%s\n' /var/lib/inary/package/*
801801
has tekel && count_pkg tekel 0 printf '%s\n' /data/app/"$USER"/* /data/app/system/*
802-
has crew && count_pkg chromebrew 0 printf '%s\n' "${CREW_PREFIX:-/usr/local}"/etc/crew/meta/*.filelist
802+
has crew && count_pkg chromebrew 0 printf '%s\n' \
803+
"${CREW_PREFIX:-/usr/local}"/etc/crew/meta/*.filelist
803804
has scratch && count_pkg scratch 0 printf '%s\n' /var/lib/scratchpkg/db/*
804805
has kagami && count_pkg kagami 0 printf '%s\n' /var/lib/kagami/pkgs/*
805-
has cave && count_pkg cave 0 printf '%s\n' /var/db/paludis/repositories/cross-installed/*/data/*/ /var/db/paludis/repositories/installed/data/*/
806+
has cave && count_pkg cave 0 printf '%s\n' \
807+
/var/db/paludis/repositories/cross-installed/*/data/*/ \
808+
/var/db/paludis/repositories/installed/data/*/
806809
has hardman && count_pkg hpkg 0 printf '%s\n' /var/hpkg/packages/*
807810

808811
# List these last as they accompany regular package managers.
809812
has spm && count_pkg spm 0 spm list -i
810813
has puyo && count_pkg puyo 0 printf '%s\n' ~/.puyo/installed/*
811814

815+
[ -d /var/packages ] && count_pkg dsm 0 printf '%s\n' /var/packages/*
812816

813817
has appimaged && count_pkg appimage 0 printf '%s\n' "$HOME"/.local/bin/*.[Aa]pp[Ii]mage "$HOME"/Applications/*.[Aa]pp[Ii]mage
814818

0 commit comments

Comments
 (0)