Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
update-desktop-files
mimetypes.prov
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mimetypes.prov of Package update-desktop-files
#!/bin/sh # vim: sw=4 et # Transform desktop mimetype info into RPM provides OLD_IFS="$IFS" while read instfile ; do case "$instfile" in *.desktop) mime=$(sed -re '/^MimeType *= *([a-zA-Z0-9. _/;-]*)/!d' $instfile | cut -d'=' -f2) IFS=';' for type in $mime ; do echo 'mimetype('$type')' done ;; esac done IFS=$OLD_IFS
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