Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sschapiro:openstack:upstream
libguestfs
libguestfs-find-requires.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libguestfs-find-requires.sh of Package libguestfs
#!/bin/sh - # Additional custom requires for libguestfs package. original_find_requires="$1" shift # Get the list of files. files=`sed "s/['\"]/\\\&/g"` # Use ordinary find-requires first. echo $files | tr [:blank:] '\n' | $original_find_requires # Is supermin.d/hostfiles included in the list of files? hostfiles=`echo $files | tr [:blank:] '\n' | grep 'supermin\.d/hostfiles$'` if [ -z "$hostfiles" ]; then exit 0 fi # Generate extra requires for libraries listed in hostfiles. sofiles=`grep 'lib.*\.so\.' $hostfiles | fgrep -v '*' | sed 's|^\.||'` for f in $sofiles; do if [ -f "$f" ]; then echo "$f" fi done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor