home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / rescue / usr / lib / rpm / find-supplements < prev    next >
Text File  |  2006-11-29  |  418b  |  15 lines

  1. #!/bin/bash
  2.  
  3. # This script reads filenames from STDIN and outputs any relevant provides
  4. # information that needs to be included in the package.
  5. IFS=$'\n'
  6. filelist=($(cat))
  7.  
  8. #
  9. # --- Kernel module hardware identifiers
  10. # (e.g., modalias(pci:v0000109Ed00000878sv00000070sd0000FF01bc*sc*i*)
  11. [ -x /usr/lib/rpm/find-supplements.ksyms ] &&
  12.     printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/find-supplements.ksyms "$@"
  13.  
  14. exit 0
  15.