diff -r d20c167cc988 -r da7ce603d47f gst-gmyth/debian/maemo-nuvdemux.postinst --- a/gst-gmyth/debian/maemo-nuvdemux.postinst Sat Feb 02 23:22:44 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -#! /bin/sh -set -e - -#DEBHELPER# - -# Register our X Desktop Group Shared MIME-info Database info -if [ -x /usr/bin/update-mime-database ] ; then - /usr/bin/update-mime-database /usr/share/mime -fi - -# Register a new type on Osso Media Server -if [ -x /usr/bin/gconftool-2 ] ; then - /usr/bin/gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/osso_media_server_nuv.schemas -fi - -#append nuv info on osso mediaplayer ui -data_file=/usr/share/applications/hildon/mp_ui.desktop -tmp_file=/tmp/mp_ui.desktop -cat $data_file | sed 's/X-Osso-URI-Actions=rtsp/X-Osso-URI-Actions=rtsp;myth/' | sed 's/MimeType=\(.*\)/MimeType=\1;video\/x-nuv/' > $tmp_file -echo -e "\n\n[X-Osso-URI-Action Handler myth] \nMethod=mime_open\nName=medi_ap_mediaplayer_name\nTranslationDomain=mediaplayer" >> $tmp_file -cat $tmp_file > $data_file -echo "FILE DESKTOP UPDATED" - -exit 0