LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / lib / rpm / | Server Ip : 104.21.78.54 |
Filename | /lib/rpm/appdata.prov |
Size | 333 |
Permission | rwxr-xr-x |
Owner | |
Create time | 08-Dec-2022 22:35 |
Last modified | 24-Nov-2021 09:47 |
Last accessed | 24-Nov-2021 09:47 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
#
# Transform appdata xml file into RPM appdata(filename) provides
#
# Author: Michael Schroeder <[email protected]>
# Based on other provides scripts from RPM
OLD_IFS="$IFS"
while read instfile ; do
case "$instfile" in
*.appdata.xml)
echo "appdata()"
echo "appdata(${instfile##*/appdata/})"
;;
esac
done
IFS=$OLD_IFS
#
# Transform appdata xml file into RPM appdata(filename) provides
#
# Author: Michael Schroeder <[email protected]>
# Based on other provides scripts from RPM
OLD_IFS="$IFS"
while read instfile ; do
case "$instfile" in
*.appdata.xml)
echo "appdata()"
echo "appdata(${instfile##*/appdata/})"
;;
esac
done
IFS=$OLD_IFS