#!/bin/bash

export ARG0=$0

POSTINST_DIR=${ARG0%/*}  # Delete trailing file name.
POSTINST_DIR=$( cd $POSTINST_DIR; pwd )
export POSTINST_DIR
pushd $POSTINST_DIR  > /dev/null


. ./functions

# Configure gconf -- need to figure out if this should go into the setup assistant.

       $AS_USER "gconftool-2 --type=string --set /desktop/gnome/url-handlers/rtsp/command \"${TARGET} %s\""
logcmd $AS_USER "gconftool-2 --type=string --set /desktop/gnome/url-handlers/rtsp/command \"${TARGET} %s\""

       $AS_USER "gconftool-2 --type=bool --set /desktop/gnome/url-handlers/rtsp/need-terminal false"
logcmd $AS_USER "gconftool-2 --type=bool --set /desktop/gnome/url-handlers/rtsp/need-terminal false"

       $AS_USER "gconftool-2 --type=bool --set /desktop/gnome/url-handlers/rtsp/enabled true"
logcmd $AS_USER "gconftool-2 --type=bool --set /desktop/gnome/url-handlers/rtsp/enabled true"


#last_cmd_status_check

popd > /dev/null

