mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Prune package list better.
This commit is contained in:
@@ -237,7 +237,7 @@ install_pkg_set() {
|
||||
if [ -z "${line}" ] ; then
|
||||
continue
|
||||
fi
|
||||
if apt-cache show ${line} >/dev/null 2>&1 ; then
|
||||
if apt-cache show ${line} | greq -q 'No packages found' >/dev/null 2>&1 ; then
|
||||
pkg_list="${pkg_list} ${line}"
|
||||
else
|
||||
echo "Warning: package ${line} not found." >&2
|
||||
|
||||
Reference in New Issue
Block a user