Skip to content

Commit c3ab6ec

Browse files
committed
Don't show uninstalled packages in the installed packages script
1 parent c0cd1b1 commit c3ab6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/fejlfinding/list_programs_services.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
printf "\n\n%s\n\n" "===== LIST INSTALLED PROGRAMS: $0 ====="
44
#apt list --installed
5-
dpkg -l
5+
dpkg -l | grep --invert-match "^rc" # Don't show packages that WERE installed
66

77
printf "\n\n%s\n\n" "===== LIST ALL SERVICES: $0 ====="
88
systemctl list-units

0 commit comments

Comments
 (0)