| Server IP : 142.11.234.102 / Your IP : 216.73.217.70 Web Server : Apache System : Linux dal-shared-66.hostwindsdns.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : krnuyqrm ( 1183) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/thread-self/root/usr/lib/rpm/ |
Upload File : |
#!/bin/sh
#
# Transform appdata/metainfo xml file into RPM metainfo(filename) provides
#
# Author: Michael Schroeder <mls@suse.de>
# Modified by Neal Gompa <ngompa13@gmail.com> to generate metainfo instead of appdata
# Based on other provides scripts from RPM
OLD_IFS="$IFS"
while read instfile ; do
case "$instfile" in
*.appdata.xml|*.metainfo.xml)
echo "metainfo()"
echo "metainfo(${instfile##*/})"
;;
esac
done
IFS=$OLD_IFS