generate sorted / filtered list
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								6ff6604941
							
						
					
				
			
			
				commit
				
					
						f51a444012
					
				
			
		
					 1 changed files with 16 additions and 4 deletions
				
			
		| 
						 | 
					@ -1,7 +1,19 @@
 | 
				
			||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Generate filelist excluding stuff that takes only space
 | 
					# Generate filelist excluding stuff that takes only space
 | 
				
			||||||
for pkg in bash systemd util-linux openssh; do
 | 
					(
 | 
				
			||||||
 | 
					    for pkg in systemd openssh \
 | 
				
			||||||
 | 
					          bash  bzip2  coreutils  cryptsetup  device-mapper  dhcpcd \
 | 
				
			||||||
 | 
					          diffutils  e2fsprogs  file filesystem  findutils  gawk    \
 | 
				
			||||||
 | 
					          gettext  glibc  grep  gzip  inetutils iproute2  \
 | 
				
			||||||
 | 
					          iputils  jfsutils  less  licenses  linux  logrotate  lvm2 \
 | 
				
			||||||
 | 
					          man-db man-pages  mdadm  nano  pacman  pciutils   \
 | 
				
			||||||
 | 
					          pcmciautils  perl  procps-ng psmisc  reiserfsprogs        \
 | 
				
			||||||
 | 
					          s-nail  sed  shadow  sysfsutils  systemd-sysvcompat  tar  \
 | 
				
			||||||
 | 
					          texinfo  usbutils  util-linux  vi  which  xfsprogs        \
 | 
				
			||||||
 | 
					    ; do
 | 
				
			||||||
        pacman -Qlq $pkg | grep -v  \
 | 
					        pacman -Qlq $pkg | grep -v  \
 | 
				
			||||||
        -e /usr/share/man/
 | 
					            -e /usr/share/man/      \
 | 
				
			||||||
done
 | 
					            -e /usr/share/doc/
 | 
				
			||||||
 | 
					    done
 | 
				
			||||||
 | 
					) | sort | uniq
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue