Skip to content
Snippets Groups Projects
Commit 6f8b07b7 authored by Automerge script's avatar Automerge script
Browse files

Merged revisions 379278 via svnmerge from

file:///srv/subversion/repos/asterisk/trunk

................
  r379278 | qwell | 2013-01-16 15:13:53 -0600 (Wed, 16 Jan 2013) | 11 lines
  
  Reduce number of packages install_prereq installs on Debian systems.
  
  'search' will look for any package containing the name provided, so we need to
  force a more exact search.
  ........
  
  Merged revisions 379276 from http://svn.asterisk.org/svn/asterisk/branches/1.8
  ........
  
  Merged revisions 379277 from http://svn.asterisk.org/svn/asterisk/branches/11
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@379288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 108f5cc5
No related branches found
No related tags found
No related merge requests found
......@@ -50,8 +50,12 @@ in_test_mode() {
}
check_installed_debs() {
aptitude -F '%c %p' search "$@" 2>/dev/null \
| awk '/^p/{print $2}'
for pack in "$@"
do
tocheck="${tocheck} ^${pack}$"
done
aptitude -F '%c %p' search ${tocheck} 2>/dev/null \
| awk '/^p/{print $2}'
}
# parsing the output of yum is close to impossible.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment