Use $(...) instead of `...` for command subst. in sysresccd-custom.
[systemrescuecd.git] / buildscripts / pkglist-generate.sh
1 #!/bin/sh
2 # Gives the list of installed packages on a gentoo system
3 # Usage: listpackages.sh < pkglist.txt
4 # pkglist is a list of packages such as app-arch/dar
5 # In output, the script gives the package followed by the version
6
7 i=1
8 while read package 
9 do
10         equery -C -q list -i -e $package | awk '{print $1}'
11 done
12