Skip to content

Commit

Permalink
Do not include metapackages in the total programs count
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Nov 10, 2024
1 parent ce17a67 commit bb0638f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/database.am
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,9 @@ _list_apps_msg() {

_list_apps_all_msg() {
_list_msg_head
AVAILABLE_TOTAL_PROGRAMS=$(sort "$AMDATADIR/$ARCH-apps" "$AMCACHEDIR/$ARCH-toolpack" | uniq | grep -e "$" -c)
AVAILABLE_APPS_NUMBER=$(grep -v "ffwa-\|\"kdegames\"\|\"kdeutils\"\|\"node\"\|\"platform-tools\"" "$AMDATADIR/$ARCH-apps" | grep -e "$" -c)
AVAILABLE_TOOLPACKS_NUMBER=$(grep -e "$" -c "$AMCACHEDIR/$ARCH-toolpack")
AVAILABLE_TOTAL_PROGRAMS=$(("$AVAILABLE_APPS_NUMBER" + "$AVAILABLE_TOOLPACKS_NUMBER"))
echo " LIST OF THE $AVAILABLE_TOTAL_PROGRAMS PROGRAMS AVAILABLE IN ALL OUR SUPPORTED DATABASES:"
_list_msg_footer
}
Expand Down

0 comments on commit bb0638f

Please sign in to comment.