LittleDemon WebShell


Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
Path : /usr/lib/rpm/
File Upload :
Command :
Current File : //usr/lib/rpm/desktop-file.prov

#!/bin/sh
#
# Transform desktop mimetype info into RPM mimehandler(type) provides
#
# Author: Richard Hughes <richard@hughsie.com>
# Based on other provides scripts from RPM

OLD_IFS="$IFS"
while read instfile ; do
	case "$instfile" in
	*.desktop)
		mime=`cat "$instfile" | grep MimeType= | cut -d'=' -f2`
                IFS=';'
		for type in $mime ; do
		        echo 'mimehandler('$type')'
	        done
		;;
	esac
done
IFS=$OLD_IFS


LittleDemon - FACEBOOK
[ KELUAR ]