This file is indexed.

/usr/bin/ekiga-config-tool is in ekiga 4.0.1-4.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#!/bin/sh

prefix=/usr
SYSCONFDIR=/etc
TEXTDOMAIN=ekiga
export TEXTDOMAIN
TEXTDOMAINDIR=/usr/share/locale/
export TEXTDOMAINDIR

# if gettext can not be found, use echo instead
GETTEXT=`which gettext 2> /dev/null`
if [ -z $GETTEXT ] ; then GETTEXT='echo -n'; fi
# use complete path for gconftool
GCONFTOOL=gconftool-2
test `$GCONFTOOL -v` || exit 1; 

# NB.: Avoid !\n in the translatable strings!
ACCEPT=`$GETTEXT "YES"`

clean () {

	echo
	$GETTEXT "  WARNING!!!"; echo
	echo    "  ---------------------------------------------------------------"
	printf "`$GETTEXT "  This script will delete your Ekiga configuration settings.\nThe GConf daemon will be shut down, so make sure you have no\n  applications depending on it running.\n\n  Please make sure that Ekiga is not running!\n\n  Do you really want to do this?\n\n  If so, say $ACCEPT.\n\n"`";

	read WARNINGANSWER
	
	echo
	
	if [ -n "$WARNINGANSWER" ] && [ "$WARNINGANSWER" = $ACCEPT ]; then
	    
	    $GETTEXT "Removing $HOME/.gconf/apps/ekiga"; echo
	    rm -rf $HOME/.gconf/apps/ekiga
	    
	    $GETTEXT "Shutting down GConf daemon"; echo
	    $GCONFTOOL --shutdown
	    
	    $GETTEXT "...Done."; echo
	    
	else
	    $GETTEXT "Leaving configuration alone."; echo
	    echo
	    $GETTEXT "Have a nice day."; echo
	    
	fi
	
	echo
}

shutdownwarning () {
    echo
    $GETTEXT "  WARNING!!!"; echo
    echo    "  ---------------------------------------------------------------"
    printf "`$GETTEXT "  The GConf daemon will be shut down, so make sure you have no\n  applications depending on it running.\n\n  Please make sure that Ekiga is not running!\n\n  Do you really want to do this?\n\n  If so, say $ACCEPT.\n\n"`";
}

cleanschemas () {
    shutdownwarning;

    read WARNINGANSWER

    if [ -n "$WARNINGANSWER" ] && [ "$WARNINGANSWER" = $ACCEPT ]; then

	echo ""

	SOURCE=`$GCONFTOOL --get-default-source`
	    
	$GETTEXT "Shutting down GConf daemon"; echo
	$GCONFTOOL --shutdown

	$GETTEXT "Removing schemas"; echo
	SOURCE=`echo $SOURCE | sed "s/xml:://"`
	SCHEMAS=$SOURCE/schemas/apps/ekiga
	SOURCE=$SOURCE/apps/ekiga
	echo $SCHEMAS
	echo $SOURCE
	rm -rf $SOURCE
	rm -rf $SCHEMAS
    fi
}

installschemas () {
    shutdownwarning;

    read WARNINGANSWER

    if [ -n "$WARNINGANSWER" ] && [ "$WARNINGANSWER" = $ACCEPT ]; then

	echo

	SOURCE=`$GCONFTOOL --get-default-source`
	    
	$GETTEXT "Shutting down GConf daemon"; echo
	$GCONFTOOL --shutdown

	$GETTEXT "Installing schemas"; echo
	GCONF_CONFIG_SOURCE=$SOURCE  $GCONFTOOL \
	--makefile-install-rule $SYSCONFDIR/gconf/schemas/ekiga.schemas
    fi
}

fixgconfperm ()
{
    killall gconfd-2 2>/dev/null >/dev/null
    chmod -R o+rX $SYSCONFDIR/gconf
}

case "$1" in
  *--clean)
        clean;
        ;;
  *--install-schemas)
        installschemas;
        ;;
  *--clean-schemas)
	cleanschemas;
        ;;
  *--fix-permissions)
        fixgconfperm;
        ;;
  *)
        $GETTEXT "Usage:  ekiga-config-tool OPTION"; echo
	$GETTEXT "Fixes problems with the Ekiga settings"; echo; echo
	$GETTEXT "  --clean                remove all user settings"; echo
	$GETTEXT "  --install-schemas      install schemas with default settings (run as root)"; echo
	$GETTEXT "  --clean-schemas        remove schemas with default settings (run as root)"; echo
	$GETTEXT "  --fix-permissions      fix permissions of GConf repository (run as root)"; echo
        exit 1
        ;;
esac