=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== xdg-utils-1.1.3/Makefile.in-27-$(SUBDIRS:%=%/__uninstall__): dummy xdg-utils-1.1.3/Makefile.in:28: cd `dirname $@` && $(MAKE) uninstall xdg-utils-1.1.3/Makefile.in-29- xdg-utils-1.1.3/Makefile.in-30-$(SUBDIRS:%=%/__install__): dummy xdg-utils-1.1.3/Makefile.in:31: cd `dirname $@` && $(MAKE) install xdg-utils-1.1.3/Makefile.in-32- xdg-utils-1.1.3/Makefile.in-33-$(SUBDIRS:%=%/__clean__): dummy xdg-utils-1.1.3/Makefile.in:34: cd `dirname $@` && $(MAKE) clean xdg-utils-1.1.3/Makefile.in-35- xdg-utils-1.1.3/Makefile.in-36-$(SUBDIRS:%=%/__release__): dummy xdg-utils-1.1.3/Makefile.in:37: cd `dirname $@` && $(MAKE) release xdg-utils-1.1.3/Makefile.in-38- xdg-utils-1.1.3/Makefile.in-39-$(SUBDIRS:%=%/__distclean__): dummy xdg-utils-1.1.3/Makefile.in:40: cd `dirname $@` && $(MAKE) distclean xdg-utils-1.1.3/Makefile.in-41- ############################################## xdg-utils-1.1.3/configure-45-if test -z "$BASH_VERSION$ZSH_VERSION" \ xdg-utils-1.1.3/configure:46: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then xdg-utils-1.1.3/configure-47- as_echo='print -r --' xdg-utils-1.1.3/configure-48- as_echo_n='print -rn --' xdg-utils-1.1.3/configure:49:elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then xdg-utils-1.1.3/configure-50- as_echo='printf %s\n' ############################################## xdg-utils-1.1.3/configure-52-else xdg-utils-1.1.3/configure:53: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then xdg-utils-1.1.3/configure-54- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ############################################## xdg-utils-1.1.3/configure-62- expr "X$arg" : "X\\(.*\\)$as_nl"; xdg-utils-1.1.3/configure:63: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; xdg-utils-1.1.3/configure-64- esac; ############################################## xdg-utils-1.1.3/configure-199- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && xdg-utils-1.1.3/configure:200: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" xdg-utils-1.1.3/configure-201- if (eval "$as_required") 2>/dev/null; then : ############################################## xdg-utils-1.1.3/configure-326- case $as_dir in #( xdg-utils-1.1.3/configure:327: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( xdg-utils-1.1.3/configure-328- *) as_qdir=$as_dir;; ############################################## xdg-utils-1.1.3/configure-399- { xdg-utils-1.1.3/configure:400: as_val=`expr "$@" || test $? -eq 1` xdg-utils-1.1.3/configure-401- } ############################################## xdg-utils-1.1.3/configure-406-# ---------------------------------------- xdg-utils-1.1.3/configure:407:# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are xdg-utils-1.1.3/configure-408-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ############################################## xdg-utils-1.1.3/configure-469- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && xdg-utils-1.1.3/configure:470: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { xdg-utils-1.1.3/configure-471- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ############################################## xdg-utils-1.1.3/configure-702- case $ac_option in xdg-utils-1.1.3/configure:703: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; xdg-utils-1.1.3/configure-704- *=) ac_optarg= ;; ############################################## xdg-utils-1.1.3/configure-746- -disable-* | --disable-*) xdg-utils-1.1.3/configure:747: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` xdg-utils-1.1.3/configure-748- # Reject names that are not valid shell variable names. ############################################## xdg-utils-1.1.3/configure-751- ac_useropt_orig=$ac_useropt xdg-utils-1.1.3/configure:752: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` xdg-utils-1.1.3/configure-753- case $ac_user_opts in ############################################## xdg-utils-1.1.3/configure-772- -enable-* | --enable-*) xdg-utils-1.1.3/configure:773: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` xdg-utils-1.1.3/configure-774- # Reject names that are not valid shell variable names. ############################################## xdg-utils-1.1.3/configure-777- ac_useropt_orig=$ac_useropt xdg-utils-1.1.3/configure:778: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` xdg-utils-1.1.3/configure-779- case $ac_user_opts in ############################################## xdg-utils-1.1.3/configure-985- -with-* | --with-*) xdg-utils-1.1.3/configure:986: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` xdg-utils-1.1.3/configure-987- # Reject names that are not valid shell variable names. ############################################## xdg-utils-1.1.3/configure-990- ac_useropt_orig=$ac_useropt xdg-utils-1.1.3/configure:991: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` xdg-utils-1.1.3/configure-992- case $ac_user_opts in ############################################## xdg-utils-1.1.3/configure-1001- -without-* | --without-*) xdg-utils-1.1.3/configure:1002: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` xdg-utils-1.1.3/configure-1003- # Reject names that are not valid shell variable names. ############################################## xdg-utils-1.1.3/configure-1006- ac_useropt_orig=$ac_useropt xdg-utils-1.1.3/configure:1007: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` xdg-utils-1.1.3/configure-1008- case $ac_user_opts in ############################################## xdg-utils-1.1.3/configure-1039- *=*) xdg-utils-1.1.3/configure:1040: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` xdg-utils-1.1.3/configure-1041- # Reject names that are not valid shell variable names. ############################################## xdg-utils-1.1.3/configure-1060-if test -n "$ac_prev"; then xdg-utils-1.1.3/configure:1061: ac_option=--`echo $ac_prev | sed 's/_/-/g'` xdg-utils-1.1.3/configure-1062- as_fn_error $? "missing argument to $ac_option" ############################################## xdg-utils-1.1.3/configure-1082- */ ) xdg-utils-1.1.3/configure:1083: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` xdg-utils-1.1.3/configure-1084- eval $ac_var=\$ac_val;; ############################################## xdg-utils-1.1.3/configure-1117-ac_ls_di=`ls -di .` && xdg-utils-1.1.3/configure:1118:ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || xdg-utils-1.1.3/configure-1119- as_fn_error $? "working directory cannot be determined" ############################################## xdg-utils-1.1.3/configure-1173-case $srcdir in xdg-utils-1.1.3/configure:1174:*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; xdg-utils-1.1.3/configure-1175-esac ############################################## xdg-utils-1.1.3/configure-1216-By default, \`make install' will install all the files in xdg-utils-1.1.3/configure:1217:\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify xdg-utils-1.1.3/configure:1218:an installation prefix other than \`$ac_default_prefix' using \`--prefix', xdg-utils-1.1.3/configure-1219-for instance \`--prefix=\$HOME'. ############################################## xdg-utils-1.1.3/configure-1271-*) xdg-utils-1.1.3/configure:1272: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` xdg-utils-1.1.3/configure-1273- # A ".." for each directory in $ac_dir_suffix. xdg-utils-1.1.3/configure:1274: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` xdg-utils-1.1.3/configure-1275- case $ac_top_builddir_sub in ############################################## xdg-utils-1.1.3/configure-1407- *\'*) xdg-utils-1.1.3/configure:1408: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; xdg-utils-1.1.3/configure-1409- esac ############################################## xdg-utils-1.1.3/configure-1490- case $ac_val in xdg-utils-1.1.3/configure:1491: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; xdg-utils-1.1.3/configure-1492- esac ############################################## xdg-utils-1.1.3/configure-1505- case $ac_val in xdg-utils-1.1.3/configure:1506: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; xdg-utils-1.1.3/configure-1507- esac ############################################## xdg-utils-1.1.3/configure-1625- set,) xdg-utils-1.1.3/configure:1626: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 xdg-utils-1.1.3/configure:1627:$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} xdg-utils-1.1.3/configure-1628- ac_cache_corrupted=: ;; ############################################## xdg-utils-1.1.3/configure-1636- # differences in whitespace do not lead to failure. xdg-utils-1.1.3/configure:1637: ac_old_val_w=`echo x $ac_old_val` xdg-utils-1.1.3/configure:1638: ac_new_val_w=`echo x $ac_new_val` xdg-utils-1.1.3/configure-1639- if test "$ac_old_val_w" != "$ac_new_val_w"; then ############################################## xdg-utils-1.1.3/configure-1656- case $ac_new_val in xdg-utils-1.1.3/configure:1657: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; xdg-utils-1.1.3/configure-1658- *) ac_arg=$ac_var=$ac_new_val ;; ############################################## xdg-utils-1.1.3/configure-1687-set x ${MAKE-make} xdg-utils-1.1.3/configure:1688:ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` xdg-utils-1.1.3/configure-1689-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : ############################################## xdg-utils-1.1.3/configure-1697-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. xdg-utils-1.1.3/configure:1698:case `${MAKE-make} -f conftest.make 2>/dev/null` in xdg-utils-1.1.3/configure-1699- *@@@%%%=?*=@@@%%%*) ############################################## xdg-utils-1.1.3/configure-2006-' xdg-utils-1.1.3/configure:2007:DEFS=`sed -n "$ac_script" confdefs.h` xdg-utils-1.1.3/configure-2008- ############################################## xdg-utils-1.1.3/configure-2015- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' xdg-utils-1.1.3/configure:2016: ac_i=`$as_echo "$ac_i" | sed "$ac_script"` xdg-utils-1.1.3/configure-2017- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ############################################## xdg-utils-1.1.3/configure-2082-if test -z "$BASH_VERSION$ZSH_VERSION" \ xdg-utils-1.1.3/configure:2083: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then xdg-utils-1.1.3/configure-2084- as_echo='print -r --' xdg-utils-1.1.3/configure-2085- as_echo_n='print -rn --' xdg-utils-1.1.3/configure:2086:elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then xdg-utils-1.1.3/configure-2087- as_echo='printf %s\n' ############################################## xdg-utils-1.1.3/configure-2089-else xdg-utils-1.1.3/configure:2090: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then xdg-utils-1.1.3/configure-2091- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ############################################## xdg-utils-1.1.3/configure-2099- expr "X$arg" : "X\\(.*\\)$as_nl"; xdg-utils-1.1.3/configure:2100: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; xdg-utils-1.1.3/configure-2101- esac; ############################################## xdg-utils-1.1.3/configure-2176-# ---------------------------------------- xdg-utils-1.1.3/configure:2177:# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are xdg-utils-1.1.3/configure-2178-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ############################################## xdg-utils-1.1.3/configure-2248- { xdg-utils-1.1.3/configure:2249: as_val=`expr "$@" || test $? -eq 1` xdg-utils-1.1.3/configure-2250- } ############################################## xdg-utils-1.1.3/configure-2352- case $as_dir in #( xdg-utils-1.1.3/configure:2353: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( xdg-utils-1.1.3/configure-2354- *) as_qdir=$as_dir;; ############################################## xdg-utils-1.1.3/configure-2474-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 xdg-utils-1.1.3/configure:2475:ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" xdg-utils-1.1.3/configure-2476-ac_cs_version="\\ ############################################## xdg-utils-1.1.3/configure-2497- --*=?*) xdg-utils-1.1.3/configure:2498: ac_option=`expr "X$1" : 'X\([^=]*\)='` xdg-utils-1.1.3/configure:2499: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` xdg-utils-1.1.3/configure-2500- ac_shift=: ############################################## xdg-utils-1.1.3/configure-2502- --*=) xdg-utils-1.1.3/configure:2503: ac_option=`expr "X$1" : 'X\([^=]*\)='` xdg-utils-1.1.3/configure-2504- ac_optarg= ############################################## xdg-utils-1.1.3/configure-2526- case $ac_optarg in xdg-utils-1.1.3/configure:2527: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; xdg-utils-1.1.3/configure-2528- '') as_fn_error $? "missing file argument" ;; ############################################## xdg-utils-1.1.3/configure-2645-fi xdg-utils-1.1.3/configure:2646:ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` xdg-utils-1.1.3/configure-2647-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ############################################## xdg-utils-1.1.3/configure-2662- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 xdg-utils-1.1.3/configure:2663:ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` xdg-utils-1.1.3/configure-2664-ac_delim='%!_!# ' ############################################## xdg-utils-1.1.3/configure-2668- xdg-utils-1.1.3/configure:2669: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` xdg-utils-1.1.3/configure-2670- if test $ac_delim_n = $ac_delim_num; then ############################################## xdg-utils-1.1.3/configure-2830- esac xdg-utils-1.1.3/configure:2831: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac xdg-utils-1.1.3/configure-2832- as_fn_append ac_file_inputs " '$ac_f'" ############################################## xdg-utils-1.1.3/configure-2889-*) xdg-utils-1.1.3/configure:2890: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` xdg-utils-1.1.3/configure-2891- # A ".." for each directory in $ac_dir_suffix. xdg-utils-1.1.3/configure:2892: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` xdg-utils-1.1.3/configure-2893- case $ac_top_builddir_sub in ############################################## xdg-utils-1.1.3/configure-2945-/@mandir@/p' xdg-utils-1.1.3/configure:2946:case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in xdg-utils-1.1.3/configure-2947-*datarootdir*) ac_datarootdir_seen=yes;; ############################################## xdg-utils-1.1.3/configure-2962- xdg-utils-1.1.3/configure:2963:# Neutralize VPATH when `$srcdir' = `.'. xdg-utils-1.1.3/configure-2964-# Shell code in configure.ac might set extrasub. ############################################## xdg-utils-1.1.3/configure-2989-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && xdg-utils-1.1.3/configure:2990: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && xdg-utils-1.1.3/configure-2991- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ############################################## xdg-utils-1.1.3/install-sh-85- xdg-utils-1.1.3/install-sh:86: -t=*) transformarg=`echo $1 | sed 's/-t=//'` xdg-utils-1.1.3/install-sh-87- shift ############################################## xdg-utils-1.1.3/install-sh-89- xdg-utils-1.1.3/install-sh:90: -b=*) transformbasename=`echo $1 | sed 's/-b=//'` xdg-utils-1.1.3/install-sh-91- shift ############################################## xdg-utils-1.1.3/install-sh-151- then xdg-utils-1.1.3/install-sh:152: dst="$dst"/`basename $src` xdg-utils-1.1.3/install-sh-153- else ############################################## xdg-utils-1.1.3/install-sh-158-## this sed command emulates the dirname command xdg-utils-1.1.3/install-sh:159:dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` xdg-utils-1.1.3/install-sh-160- ############################################## xdg-utils-1.1.3/install-sh-172-IFS='%' xdg-utils-1.1.3/install-sh:173:set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` xdg-utils-1.1.3/install-sh-174-IFS="${oIFS}" ############################################## xdg-utils-1.1.3/install-sh-206- then xdg-utils-1.1.3/install-sh:207: dstfile=`basename $dst` xdg-utils-1.1.3/install-sh-208- else ############################################## xdg-utils-1.1.3/install-sh-216- then xdg-utils-1.1.3/install-sh:217: dstfile=`basename $dst` xdg-utils-1.1.3/install-sh-218- else ############################################## xdg-utils-1.1.3/scripts/Makefile.in-74- for x in $(MANPAGES) ; do \ xdg-utils-1.1.3/scripts/Makefile.in:75: rm -f $(DESTDIR)$(mandir)/man1/`basename $$x` ; \ xdg-utils-1.1.3/scripts/Makefile.in-76- done ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-icon.in-105-fi xdg-utils-1.1.3/scripts/xdg-desktop-icon.in:106:desktop_dir_kde=`kde${KDE_SESSION_VERSION}-config --userpath desktop 2> /dev/null` xdg-utils-1.1.3/scripts/xdg-desktop-icon.in-107-if gconftool-2 -g /apps/nautilus/preferences/desktop_is_home_dir 2> /dev/null | grep true > /dev/null; then ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-icon.in-119- # Is the KDE desktop dir != $HOME/Desktop ? xdg-utils-1.1.3/scripts/xdg-desktop-icon.in:120: if [ "x`readlink -f "$desktop_dir"`" != "x`readlink -f "$desktop_dir_kde"`" ]; then xdg-utils-1.1.3/scripts/xdg-desktop-icon.in-121- # If so, don't create $HOME/Desktop if it doesn't exist ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-icon.in-127- xdg-utils-1.1.3/scripts/xdg-desktop-icon.in:128:basefile=`basename "$desktop_file"` xdg-utils-1.1.3/scripts/xdg-desktop-icon.in-129- ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-34- if [ "$mode" = "system" ] ; then xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:35: for x in `echo $PATH | sed 's/:/ /g'` /opt/gnome/bin; do xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-36- if [ -x $x/update-desktop-database ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-76- local default_app xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:77: for x in `echo "$xdg_default_dirs" | sed 's/:/ /g'`; do xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-78- DEBUG 2 "Checking $x/applications/defaults.list" xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:79: default_app=`grep "$MIME=" $x/applications/defaults.list 2> /dev/null | cut -d '=' -f 2` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-80- if [ -n "$default_app" ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-114- xdg_global_dir= xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:115: for x in `echo $xdg_system_dirs | sed 's/:/ /g'` ; do xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-116- if [ -w $x/$xdg_dir_name ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-162- # Work around for Debian Gnome xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:163: gnome_xdg_dir=`echo "$xdg_dir" | sed -e 's^/applications-merged^/gnome-applications-merged^'` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-164- if [ ! -e "$gnome_xdg_dir" ] ; then xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-165- DEBUG 1 "Debian Workaround: Link '$xdg_dir' to '$gnome_xdg_dir'" xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:166: mkdir -p `dirname "$gnome_xdg_dir"` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-167- eval 'ln -s "applications-merged" "$gnome_xdg_dir"'$xdg_redirect_output ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-171- # Work around for Mandriva 2006 xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:172: mandrake_xdg_dir=`echo "$xdg_dir" | sed -e 's^/applications-merged^/applications-mdk-merged^'` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-173- if [ ! -e "$mandrake_xdg_dir" ] ; then xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-174- DEBUG 1 "Mandriva Workaround: Link '$xdg_dir' to '$mandrake_xdg_dir'" xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:175: mkdir -p `dirname "$mandrake_xdg_dir"` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-176- eval 'ln -s "applications-merged" "$mandrake_xdg_dir"'$xdg_redirect_output ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-180- # Work around for Fedora Core 5 + patched KDE xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:181: kde_xdg_dir=`echo "$xdg_dir" | sed -e 's^/applications-merged^/kde-applications-merged^'` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-182- if [ ! -e "$kde_xdg_dir" ] ; then xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-183- DEBUG 1 "Fedora Workaround: Link '$xdg_dir' to '$kde_xdg_dir'" xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:184: mkdir -p `dirname "$kde_xdg_dir"` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-185- eval 'ln -s "applications-merged" "$kde_xdg_dir"'$xdg_redirect_output ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-189- # Work around for Kubuntu 6.06 xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:190: kde_xdg_dir=`echo "$xdg_dir" | sed -e 's^/applications-merged^/kde-applications-merged^'` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-191- DEBUG 1 "Kubuntu Workaround: Link '$xdg_dir' to 'kde-applications-merged'" ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-199- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:200: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-201- orig_desktop_files= ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-214- xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:215: orig_desktop_files=`cat $tmpfile` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-216- new_desktop_files= ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-218- for desktop_file in $desktop_files; do xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:219: basefile=`basename "$desktop_file"` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-220- if ! grep '^'$basefile'$' $tmpfile > /dev/null 2> /dev/null ; then ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-224- done xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:225: new_desktop_files=`cat $tmpfile` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-226- fi ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-249- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:250: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-251- ( ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-258- for desktop_file in $directory_files; do xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:259: basefile=`basename "$desktop_file"` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:260: basefilename=`echo "$basefile"|cut -d '.' -f 1` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-261- echo "<Menu>" ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-295- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:296: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-297- for menu_file in $xdg_dir/*; do ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-447- xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:448: basefilename=`basename "$desktop_file" | cut -d '.' -f 1` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-449- if [ -z "$menu_name" ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-479-xdg_global_dir= xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:480:for x in `echo $xdg_system_dirs | sed 's/:/ /g'` ; do xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-481- if [ -w $x/$xdg_dir_name ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-510-for desktop_file in $directory_files; do xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:511: basefile=`basename "$desktop_file"` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-512- ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-546-xdg_global_dir= xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:547:for x in `echo $xdg_system_dirs | sed 's/:/ /g'` ; do xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-548- if [ -w $x/$xdg_dir_name ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-553- xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:554:kde_user_dir=`kde${KDE_SESSION_VERSION}-config --path apps 2> /dev/null | cut -d ':' -f 1` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:555:kde_global_dir=`kde${KDE_SESSION_VERSION}-config --path apps 2> /dev/null | cut -d ':' -f 2` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-556-[ -w $kde_global_dir ] || kde_global_dir= ############################################## xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-589- xdg-utils-1.1.3/scripts/xdg-desktop-menu.in:590: basefile=`basename "$desktop_file"` xdg-utils-1.1.3/scripts/xdg-desktop-menu.in-591- ############################################## xdg-utils-1.1.3/scripts/xdg-file-dialog.in-56- if [ x"$1" != x"" ]; then xdg-utils-1.1.3/scripts/xdg-file-dialog.in:57: cd `dirname "$1"` 2>/dev/null xdg-utils-1.1.3/scripts/xdg-file-dialog.in:58: FILENAME=`basename "$1"` xdg-utils-1.1.3/scripts/xdg-file-dialog.in-59- if [ x"$FILENAME" != x"" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-file-dialog.in-113- if [ x"$1" != x"" ]; then xdg-utils-1.1.3/scripts/xdg-file-dialog.in:114: cd `dirname "$1"` 2>/dev/null xdg-utils-1.1.3/scripts/xdg-file-dialog.in:115: FILENAME=`basename "$1"` xdg-utils-1.1.3/scripts/xdg-file-dialog.in-116- if [ x"$FILENAME" != x"" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-file-dialog.in-122- if [ x"$TITLE" != x"" ]; then xdg-utils-1.1.3/scripts/xdg-file-dialog.in:123: LIST=`$DIALOG --title "$TITLE" --multiple --file-selection "$FILENAME"` xdg-utils-1.1.3/scripts/xdg-file-dialog.in-124- else xdg-utils-1.1.3/scripts/xdg-file-dialog.in:125: LIST=`$DIALOG --multiple --file-selection "$FILENAME"` xdg-utils-1.1.3/scripts/xdg-file-dialog.in-126- fi ############################################## xdg-utils-1.1.3/scripts/xdg-file-dialog.in-128- if [ x"$TITLE" != x"" ]; then xdg-utils-1.1.3/scripts/xdg-file-dialog.in:129: LIST=`$DIALOG --title "$TITLE" --multiple --file-selection` xdg-utils-1.1.3/scripts/xdg-file-dialog.in-130- else xdg-utils-1.1.3/scripts/xdg-file-dialog.in:131: LIST=`$DIALOG --multiple --file-selection` xdg-utils-1.1.3/scripts/xdg-file-dialog.in-132- fi ############################################## xdg-utils-1.1.3/scripts/xdg-file-dialog.in-170- if [ x"$1" != x"" ]; then xdg-utils-1.1.3/scripts/xdg-file-dialog.in:171: cd `dirname "$1"` 2>/dev/null xdg-utils-1.1.3/scripts/xdg-file-dialog.in:172: FILENAME=`basename "$1"` xdg-utils-1.1.3/scripts/xdg-file-dialog.in-173- if [ x"$FILENAME" != x"" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-icon-resource.in-39- GTK_UPDATE_ICON_CACHE="-" xdg-utils-1.1.3/scripts/xdg-icon-resource.in:40: for x in `echo "$PATH:/opt/gnome/bin" | sed 's/:/ /g'`; do xdg-utils-1.1.3/scripts/xdg-icon-resource.in-41- DEBUG 3 "Checking $x for gtk-update-icon-cache" ############################################## xdg-utils-1.1.3/scripts/xdg-icon-resource.in-225-[ -n "$xdg_system_dirs" ] || xdg_system_dirs="/usr/local/share/:/usr/share/" xdg-utils-1.1.3/scripts/xdg-icon-resource.in:226:for x in `echo "$xdg_system_dirs" | sed 's/:/ /g'`; do xdg-utils-1.1.3/scripts/xdg-icon-resource.in-227- if [ -w "$x/$xdg_dir_name" ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-icon-resource.in-308- local path xdg-utils-1.1.3/scripts/xdg-icon-resource.in:309: path=`readlink -f "$1" 2> /dev/null` # Normalize path xdg-utils-1.1.3/scripts/xdg-icon-resource.in-310- DEBUG 2 "need_kde_icon_path $path" ############################################## xdg-utils-1.1.3/scripts/xdg-icon-resource.in-316- # if kde-config not found... return 0 xdg-utils-1.1.3/scripts/xdg-icon-resource.in:317: kde_icon_dirs=`kde${KDE_SESSION_VERSION}-config --path icon 2> /dev/null |sed 's/:/ /g'` xdg-utils-1.1.3/scripts/xdg-icon-resource.in-318- DEBUG 3 "kde_icon_dirs: $kde_icon_dirs" ############################################## xdg-utils-1.1.3/scripts/xdg-icon-resource.in-325- for y in $kde_icon_dirs ; do xdg-utils-1.1.3/scripts/xdg-icon-resource.in:326: x=`readlink -f "$y"` # Normalize path xdg-utils-1.1.3/scripts/xdg-icon-resource.in-327- DEBUG 3 "Normalize $y --> $x" ############################################## xdg-utils-1.1.3/scripts/xdg-icon-resource.in-350- if need_kde_icon_path "$xdg_user_prefix" ; then xdg-utils-1.1.3/scripts/xdg-icon-resource.in:351: kde_user_icon_dir=`kde${KDE_SESSION_VERSION}-config --path icon | cut -d ':' -f 1` xdg-utils-1.1.3/scripts/xdg-icon-resource.in-352- kde_user_dir="$kde_user_icon_dir/$theme" ############################################## xdg-utils-1.1.3/scripts/xdg-icon-resource.in-386- xdg-utils-1.1.3/scripts/xdg-icon-resource.in:387:[ -n "$icon_name" ] || icon_name=`basename "$icon_file" | sed 's/\.[a-z][a-z][a-z]$//'` xdg-utils-1.1.3/scripts/xdg-icon-resource.in-388- ############################################## xdg-utils-1.1.3/scripts/xdg-icon-resource.in-392- xdg-utils-1.1.3/scripts/xdg-icon-resource.in:393:icon_icon_file=`echo "$icon_file" | sed 's/\.[a-z][a-z][a-z]$/.icon/'` xdg-utils-1.1.3/scripts/xdg-icon-resource.in-394-icon_icon_name="$icon_name.icon" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-64- [ ! -f "$apps/$1" ] && return xdg-utils-1.1.3/scripts/xdg-settings.in:65: MIMETYPES="`grep "^MimeType=" "$apps/$1" | cut -d= -f 2-`" xdg-utils-1.1.3/scripts/xdg-settings.in-66- case "$MIMETYPES" in ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-73- # Add the mime-type to the list xdg-utils-1.1.3/scripts/xdg-settings.in:74: temp="`mktemp "$apps/$1.XXXXXX"`" || return xdg-utils-1.1.3/scripts/xdg-settings.in-75- grep -v "^MimeType=" "$apps/$1" >> "$temp" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-77- xdg-utils-1.1.3/scripts/xdg-settings.in:78: oldlines="`wc -l < "$apps/$1"`" xdg-utils-1.1.3/scripts/xdg-settings.in:79: newlines="`wc -l < "$temp"`" xdg-utils-1.1.3/scripts/xdg-settings.in-80- # The new file should have at least as many lines as the old. ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-126- fi xdg-utils-1.1.3/scripts/xdg-settings.in:127: orig="`get_browser_mime $MIME`" xdg-utils-1.1.3/scripts/xdg-settings.in-128- # Fixing the local desktop file can actually change the default browser all ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-149- if [ x"${KDE_SESSION_VERSION}" = x"5" ]; then xdg-utils-1.1.3/scripts/xdg-settings.in:150: application="`kreadconfig5 --file $configfile --group $configsection --key $configkey`" xdg-utils-1.1.3/scripts/xdg-settings.in-151- else xdg-utils-1.1.3/scripts/xdg-settings.in:152: application="`kreadconfig --file $configfile --group $configsection --key $configkey`" xdg-utils-1.1.3/scripts/xdg-settings.in-153- fi ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-160- # fine though). xdg-utils-1.1.3/scripts/xdg-settings.in:161: configfile_dir=`kde${KDE_SESSION_VERSION}-config --path config | cut -d ':' -f 1` xdg-utils-1.1.3/scripts/xdg-settings.in-162- configfile_path="$configfile_dir/$configfile" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-194- !*) xdg-utils-1.1.3/scripts/xdg-settings.in:195: desktop="`binary_to_desktop_file "${browser#!}"`" xdg-utils-1.1.3/scripts/xdg-settings.in-196- basename "$desktop" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-221-{ xdg-utils-1.1.3/scripts/xdg-settings.in:222: check="`desktop_file_to_binary "$1"`" xdg-utils-1.1.3/scripts/xdg-settings.in-223- if [ -z "$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-232- # get the full path xdg-utils-1.1.3/scripts/xdg-settings.in:233: browser="`binary_to_desktop_file ${browser:1}`" xdg-utils-1.1.3/scripts/xdg-settings.in:234: binary="`desktop_file_to_binary $browser`" xdg-utils-1.1.3/scripts/xdg-settings.in-235- fi ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-243- browser="`get_browser_mime`" xdg-utils-1.1.3/scripts/xdg-settings.in:244: binary="`desktop_file_to_binary "$browser"`" xdg-utils-1.1.3/scripts/xdg-settings.in-245- if [ x"$binary" != x"$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-275- # have to find the desktop file to which it corresponds. xdg-utils-1.1.3/scripts/xdg-settings.in:276: desktop="`binary_to_desktop_file "$binary"`" xdg-utils-1.1.3/scripts/xdg-settings.in-277- basename "$desktop" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-282-{ xdg-utils-1.1.3/scripts/xdg-settings.in:283: check="`desktop_file_to_binary "$1"`" xdg-utils-1.1.3/scripts/xdg-settings.in-284- if [ -z "$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-294- for protocol in http https; do xdg-utils-1.1.3/scripts/xdg-settings.in:295: binary="`gconftool-2 --get /desktop/gnome/url-handlers/$protocol/command | first_word`" xdg-utils-1.1.3/scripts/xdg-settings.in-296- if [ x"$binary" != x"$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-301- browser="`get_browser_mime`" xdg-utils-1.1.3/scripts/xdg-settings.in:302: binary="`desktop_file_to_binary "$browser"`" xdg-utils-1.1.3/scripts/xdg-settings.in-303- if [ x"$binary" != x"$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-312-{ xdg-utils-1.1.3/scripts/xdg-settings.in:313: binary="`desktop_file_to_binary "$1"`" xdg-utils-1.1.3/scripts/xdg-settings.in-314- [ "$binary" ] || exit_failure_file_missing ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-343- desktop="$1" xdg-utils-1.1.3/scripts/xdg-settings.in:344: check="`desktop_file_to_binary "$1"`" xdg-utils-1.1.3/scripts/xdg-settings.in-345- if [ -z "$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-350- for protocol in http https; do xdg-utils-1.1.3/scripts/xdg-settings.in:351: browser="`get_browser_mime "x-scheme-handler/$protocol"`" xdg-utils-1.1.3/scripts/xdg-settings.in-352- if [ x"$browser" != x"$desktop" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-362-{ xdg-utils-1.1.3/scripts/xdg-settings.in:363: binary="`desktop_file_to_binary "$1"`" xdg-utils-1.1.3/scripts/xdg-settings.in-364- [ "$binary" ] || exit_failure_file_missing ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-384- grep -q "^WebBrowser=" "$file" || continue xdg-utils-1.1.3/scripts/xdg-settings.in:385: desktop="`grep "^WebBrowser=" "$file" | cut -d= -f 2-`" xdg-utils-1.1.3/scripts/xdg-settings.in-386- echo "$desktop.desktop" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-431- # Change %F, %f, %U, and %u to "%s". xdg-utils-1.1.3/scripts/xdg-settings.in:432: command=$(grep -E '^Exec(\[[^]=]*])?=' "$file" | cut -d= -f 2- | sed -e 's/%[FfUu]/"%s"/g' | head -1) xdg-utils-1.1.3/scripts/xdg-settings.in:433: echo "X-XFCE-Commands=`echo "$command" | first_word`" >> "$target/$1" xdg-utils-1.1.3/scripts/xdg-settings.in-434- echo "X-XFCE-CommandsWithParameter=$command" >> "$target/$1" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-457- xdg-utils-1.1.3/scripts/xdg-settings.in:458: temp="`mktemp "$helpers_rc.XXXXXX"`" || return xdg-utils-1.1.3/scripts/xdg-settings.in-459- grep -v "^WebBrowser=" "$helpers_rc" >> "$temp" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-461- xdg-utils-1.1.3/scripts/xdg-settings.in:462: oldlines="`wc -l < "$helpers_rc"`" xdg-utils-1.1.3/scripts/xdg-settings.in:463: newlines="`wc -l < "$temp"`" xdg-utils-1.1.3/scripts/xdg-settings.in-464- # The new file should have at least as many lines as the old. ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-578-{ xdg-utils-1.1.3/scripts/xdg-settings.in:579: check="`desktop_file_to_binary "$2"`" xdg-utils-1.1.3/scripts/xdg-settings.in-580- if [ -z "$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-588- # get the full path xdg-utils-1.1.3/scripts/xdg-settings.in:589: desktop_file="`binary_to_desktop_file ${binary:1}`" xdg-utils-1.1.3/scripts/xdg-settings.in:590: binary="`desktop_file_to_binary $desktop_file`" xdg-utils-1.1.3/scripts/xdg-settings.in-591- fi ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-596- else xdg-utils-1.1.3/scripts/xdg-settings.in:597: handler="`get_browser_mime x-scheme-handler/$1`" xdg-utils-1.1.3/scripts/xdg-settings.in:598: binary="`desktop_file_to_binary "$handler"`" xdg-utils-1.1.3/scripts/xdg-settings.in-599- if [ x"$binary" != x"$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-611- if [ "$1" = "mailto" ]; then xdg-utils-1.1.3/scripts/xdg-settings.in:612: binary="`desktop_file_to_binary "$2"`" xdg-utils-1.1.3/scripts/xdg-settings.in-613- if [ x"${KDE_SESSION_VERSION}" = x"5" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-625-{ xdg-utils-1.1.3/scripts/xdg-settings.in:626: binary="`gconftool-2 --get /desktop/gnome/url-handlers/$1/command | first_word`" xdg-utils-1.1.3/scripts/xdg-settings.in-627- if [ x"$binary" != x"" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-630- # have to find the desktop file to which it corresponds. xdg-utils-1.1.3/scripts/xdg-settings.in:631: desktop="`binary_to_desktop_file "$binary"`" xdg-utils-1.1.3/scripts/xdg-settings.in-632- basename "$desktop" ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-637-{ xdg-utils-1.1.3/scripts/xdg-settings.in:638: check="`desktop_file_to_binary "$2"`" xdg-utils-1.1.3/scripts/xdg-settings.in-639- if [ -z "$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-642- fi xdg-utils-1.1.3/scripts/xdg-settings.in:643: binary="`gconftool-2 --get /desktop/gnome/url-handlers/$1/command | first_word`" xdg-utils-1.1.3/scripts/xdg-settings.in-644- if [ x"$binary" != x"$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-653-{ xdg-utils-1.1.3/scripts/xdg-settings.in:654: binary="`desktop_file_to_binary "$2"`" xdg-utils-1.1.3/scripts/xdg-settings.in-655- [ "$binary" ] || exit_failure_file_missing ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-672- desktop="$2" xdg-utils-1.1.3/scripts/xdg-settings.in:673: check="`desktop_file_to_binary "$2"`" xdg-utils-1.1.3/scripts/xdg-settings.in-674- if [ -z "$check" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-677- fi xdg-utils-1.1.3/scripts/xdg-settings.in:678: browser="`get_browser_mime "x-scheme-handler/$1"`" xdg-utils-1.1.3/scripts/xdg-settings.in-679- if [ x"$browser" != x"$desktop" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-settings.in-688-{ xdg-utils-1.1.3/scripts/xdg-settings.in:689: binary="`desktop_file_to_binary "$2"`" xdg-utils-1.1.3/scripts/xdg-settings.in-690- [ "$binary" ] || exit_failure_file_missing ############################################## xdg-utils-1.1.3/scripts/xdg-terminal.in-34- xdg-utils-1.1.3/scripts/xdg-terminal.in:35: terminal_exec=`which $terminal 2>/dev/null` xdg-utils-1.1.3/scripts/xdg-terminal.in-36- ############################################## xdg-utils-1.1.3/scripts/xdg-terminal.in-58- xdg-utils-1.1.3/scripts/xdg-terminal.in:59: term_exec=`gconftool-2 --get ${term_exec_key}` xdg-utils-1.1.3/scripts/xdg-terminal.in:60: term_exec_arg=`gconftool-2 --get ${term_exec_arg_key}` xdg-utils-1.1.3/scripts/xdg-terminal.in-61- xdg-utils-1.1.3/scripts/xdg-terminal.in:62: terminal_exec=`which $term_exec 2>/dev/null` xdg-utils-1.1.3/scripts/xdg-terminal.in-63- ############################################## xdg-utils-1.1.3/scripts/xdg-terminal.in-88- xdg-utils-1.1.3/scripts/xdg-terminal.in:89: term_exec=`gsettings get ${term_schema} exec` xdg-utils-1.1.3/scripts/xdg-terminal.in:90: term_exec_arg=`gsettings get ${term_schema} exec-arg` xdg-utils-1.1.3/scripts/xdg-terminal.in-91- xdg-utils-1.1.3/scripts/xdg-terminal.in:92: terminal_exec=`which $term_exec 2>/dev/null` xdg-utils-1.1.3/scripts/xdg-terminal.in-93- ############################################## xdg-utils-1.1.3/scripts/xdg-terminal.in-136- xdg-utils-1.1.3/scripts/xdg-terminal.in:137: terminal_exec=`which $TERM 2>/dev/null` xdg-utils-1.1.3/scripts/xdg-terminal.in-138- ############################################## xdg-utils-1.1.3/scripts/xdg-email.in-140- desktop=`xdg-mime query default "x-scheme-handler/mailto"` xdg-utils-1.1.3/scripts/xdg-email.in:141: client=`desktop_file_to_binary "$desktop"` xdg-utils-1.1.3/scripts/xdg-email.in-142- echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1 ############################################## xdg-utils-1.1.3/scripts/xdg-email.in-241- desktop=`xdg-mime query default "x-scheme-handler/mailto"` xdg-utils-1.1.3/scripts/xdg-email.in:242: client=`desktop_file_to_binary "$desktop"` xdg-utils-1.1.3/scripts/xdg-email.in-243- echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1 ############################################## xdg-utils-1.1.3/scripts/xdg-email.in-259- xdg-utils-1.1.3/scripts/xdg-email.in:260: browser_with_arg=`printf "$browser" "$1" 2>/dev/null` xdg-utils-1.1.3/scripts/xdg-email.in-261- if [ $? -ne 0 ]; then browser_with_arg=$browser; ############################################## xdg-utils-1.1.3/scripts/xdg-email.in-376- check_input_file "$1" xdg-utils-1.1.3/scripts/xdg-email.in:377: file=`readlink -f "$1"` # Normalize path xdg-utils-1.1.3/scripts/xdg-email.in-378- if [ -z "$file" ] || [ ! -f "$file" ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-email.in-429-# Strip trailing ? and & xdg-utils-1.1.3/scripts/xdg-email.in:430:mailto=`echo "${mailto}"| sed 's/[?&]$//'` xdg-utils-1.1.3/scripts/xdg-email.in-431- ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-41- fi xdg-utils-1.1.3/scripts/xdg-mime.in:42: for x in `echo "$PATH:/opt/gnome/bin" | sed 's/:/ /g'`; do xdg-utils-1.1.3/scripts/xdg-mime.in-43- if [ -x $x/update-mime-database ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-325- desktop_file="" xdg-utils-1.1.3/scripts/xdg-mime.in:326: for d in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do xdg-utils-1.1.3/scripts/xdg-mime.in:327: for x in `search_desktop_file "$MIME" "$d/applications"`; do xdg-utils-1.1.3/scripts/xdg-mime.in:328: pref=0`awk -F"=" '/InitialPreference=/ {print($2)}' "$x"` xdg-utils-1.1.3/scripts/xdg-mime.in-329- DEBUG 2 " Checking $x" ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-339- if [ -n "$desktop_file" ] ; then xdg-utils-1.1.3/scripts/xdg-mime.in:340: echo `basename $desktop_file` xdg-utils-1.1.3/scripts/xdg-mime.in-341- exit_success ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-420- xdg-utils-1.1.3/scripts/xdg-mime.in:421: for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do xdg-utils-1.1.3/scripts/xdg-mime.in-422- for prefix in "$XDG_MENU_PREFIX" ""; do xdg-utils-1.1.3/scripts/xdg-mime.in-423- DEBUG 2 "Checking $x/applications/${prefix}defaults.list and $x/applications/${prefix}mimeinfo.cache" xdg-utils-1.1.3/scripts/xdg-mime.in:424: trader_result=`grep "$MIME=" $x/applications/${prefix}defaults.list $x/applications/${prefix}mimeinfo.cache 2> /dev/null | head -n 1 | cut -d '=' -f 2 | cut -d ';' -f 1` xdg-utils-1.1.3/scripts/xdg-mime.in-425- if [ -n "$trader_result" ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-445- 5) xdg-utils-1.1.3/scripts/xdg-mime.in:446: KTRADER=`which ktraderclient${KDE_SESSION_VERSION} 2> /dev/null` xdg-utils-1.1.3/scripts/xdg-mime.in-447- ;; ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-503- check_input_file "$filename" xdg-utils-1.1.3/scripts/xdg-mime.in:504: filename=`readlink -f -- "$filename"` xdg-utils-1.1.3/scripts/xdg-mime.in-505- ;; ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-706-[ -n "$xdg_system_dirs" ] || xdg_system_dirs=/usr/local/share/:/usr/share/ xdg-utils-1.1.3/scripts/xdg-mime.in:707:for x in `echo $xdg_system_dirs | sed 's/:/ /g'`; do xdg-utils-1.1.3/scripts/xdg-mime.in-708- if [ -w $x/$xdg_dir_name ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-720-kde_global_dir= xdg-utils-1.1.3/scripts/xdg-mime.in:721:kde_global_dirs=`kde${KDE_SESSION_VERSION}-config --path mime 2> /dev/null` xdg-utils-1.1.3/scripts/xdg-mime.in-722-DEBUG 3 "kde_global_dirs: $kde_global_dirs" xdg-utils-1.1.3/scripts/xdg-mime.in-723-first= xdg-utils-1.1.3/scripts/xdg-mime.in:724:for x in `echo $kde_global_dirs | sed 's/:/ /g'` ; do xdg-utils-1.1.3/scripts/xdg-mime.in-725- if [ -z "$first" ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-762- xdg-utils-1.1.3/scripts/xdg-mime.in:763:basefile=`basename "$filename"` xdg-utils-1.1.3/scripts/xdg-mime.in-764-#[ -z $vendor ] || basefile="$vendor-$basefile" ############################################## xdg-utils-1.1.3/scripts/xdg-mime.in-828- DEBUG 1 "Installing $kde_dir/$x.desktop (KDE 3.x support)" xdg-utils-1.1.3/scripts/xdg-mime.in:829: mkdir -p `dirname $kde_dir/$x.desktop` xdg-utils-1.1.3/scripts/xdg-mime.in-830- awk < "$filename" ' ############################################## xdg-utils-1.1.3/scripts/xdg-open.in-276- file="$dir/$default" xdg-utils-1.1.3/scripts/xdg-open.in:277: elif [ -r "$dir/`echo $default | sed -e 's|-|/|'`" ]; then xdg-utils-1.1.3/scripts/xdg-open.in:278: file="$dir/`echo $default | sed -e 's|-|/|'`" xdg-utils-1.1.3/scripts/xdg-open.in-279- fi ############################################## xdg-utils-1.1.3/scripts/xdg-open.in-282- command="$(get_key "${file}" "Exec" | first_word)" xdg-utils-1.1.3/scripts/xdg-open.in:283: command_exec=`which $command 2>/dev/null` xdg-utils-1.1.3/scripts/xdg-open.in-284- icon="$(get_key "${file}" "Icon")" ############################################## xdg-utils-1.1.3/scripts/xdg-open.in-338- filetype="$2" xdg-utils-1.1.3/scripts/xdg-open.in:339: default=`xdg-mime query default "$filetype"` xdg-utils-1.1.3/scripts/xdg-open.in-340- if [ -n "$default" ] ; then ############################################## xdg-utils-1.1.3/scripts/xdg-open.in-347-DEBUG 3 "$xdg_user_dir:$xdg_system_dirs" xdg-utils-1.1.3/scripts/xdg-open.in:348: for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do xdg-utils-1.1.3/scripts/xdg-open.in-349- search_desktop_file "$default" "$x/applications/" "$1" ############################################## xdg-utils-1.1.3/scripts/xdg-open.in-355-{ xdg-utils-1.1.3/scripts/xdg-open.in:356: filetype=`xdg-mime query filetype "$1" | sed "s/;.*//"` xdg-utils-1.1.3/scripts/xdg-open.in-357- open_generic_xdg_mime "$1" "$filetype" ############################################## xdg-utils-1.1.3/scripts/xdg-open.in-361-{ xdg-utils-1.1.3/scripts/xdg-open.in:362: scheme="`echo $1 | sed -n 's/\(^[[:alnum:]+\.-]*\):.*$/\1/p'`" xdg-utils-1.1.3/scripts/xdg-open.in-363- if [ -n $scheme ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-open.in-408- if has_display; then xdg-utils-1.1.3/scripts/xdg-open.in:409: filetype=`xdg-mime query filetype "$file" | sed "s/;.*//"` xdg-utils-1.1.3/scripts/xdg-open.in-410- open_generic_xdg_mime "$file" "$filetype" ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-33- MV="mv -T" xdg-utils-1.1.3/scripts/xdg-screensaver.in:34: screensaver_file="/tmp/xdg-screensaver-$USER-"`echo $DISPLAY | sed 's/:/-/g'` xdg-utils-1.1.3/scripts/xdg-screensaver.in-35-else ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-38- MV="mv" xdg-utils-1.1.3/scripts/xdg-screensaver.in:39: screensaver_file="$HOME/.xdg-screensaver-"`echo $(hostname)-$DISPLAY | sed 's/:/-/g'` xdg-utils-1.1.3/scripts/xdg-screensaver.in-40-fi ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-129- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/scripts/xdg-screensaver.in:130: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/scripts/xdg-screensaver.in-131- $MV "$tmpfile" "$screensaver_file.dpms" ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-142- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/scripts/xdg-screensaver.in:143: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/scripts/xdg-screensaver.in-144- grep -v "$window_id:$xprop_pid\$" "$screensaver_file" > "$tmpfile" 2> /dev/null ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-159- # Find the PID of the trackingprocess xdg-utils-1.1.3/scripts/xdg-screensaver.in:160: xprop_pid=`grep "$window_id:" "$screensaver_file" 2> /dev/null | cut -d ':' -f 2` xdg-utils-1.1.3/scripts/xdg-screensaver.in-161- unlockfile # Free lockfile ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-194- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/scripts/xdg-screensaver.in:195: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/scripts/xdg-screensaver.in-196- # Filter stale entries from the xdg-screensaver status file ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-254- if [ -f "$screensaver_file.cookie" ] ; then xdg-utils-1.1.3/scripts/xdg-screensaver.in:255: value=`cat "$screensaver_file.cookie"` xdg-utils-1.1.3/scripts/xdg-screensaver.in-256- dbus-send --session \ ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-289- if [ -f "$screensaver_file.cookie" ] ; then xdg-utils-1.1.3/scripts/xdg-screensaver.in:290: value=`cat "$screensaver_file.cookie"` xdg-utils-1.1.3/scripts/xdg-screensaver.in-291- dbus-send --session \ ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-397- if [ -f "$screensaver_file.xset" ] ; then xdg-utils-1.1.3/scripts/xdg-screensaver.in:398: value=`cat "$screensaver_file.xset"` xdg-utils-1.1.3/scripts/xdg-screensaver.in-399- xset s $value > /dev/null ############################################## xdg-utils-1.1.3/scripts/xdg-screensaver.in-438- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/scripts/xdg-screensaver.in:439: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/scripts/xdg-screensaver.in-440- # Filter stale entries from the xdg-screensaver status file ############################################## xdg-utils-1.1.3/scripts/xdg-utils-common.in-25- search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" xdg-utils-1.1.3/scripts/xdg-utils-common.in:26: binary="`which "$1"`" xdg-utils-1.1.3/scripts/xdg-utils-common.in:27: binary="`readlink -f "$binary"`" xdg-utils-1.1.3/scripts/xdg-utils-common.in:28: base="`basename "$binary"`" xdg-utils-1.1.3/scripts/xdg-utils-common.in-29- IFS=: ############################################## xdg-utils-1.1.3/scripts/xdg-utils-common.in-39- grep -Eq "^(NoDisplay|Hidden)=true" "$file" && continue xdg-utils-1.1.3/scripts/xdg-utils-common.in:40: command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" xdg-utils-1.1.3/scripts/xdg-utils-common.in:41: command="`which "$command"`" xdg-utils-1.1.3/scripts/xdg-utils-common.in:42: if [ x"`readlink -f "$command"`" = x"$binary" ]; then xdg-utils-1.1.3/scripts/xdg-utils-common.in-43- # Fix any double slashes that got added path composition ############################################## xdg-utils-1.1.3/scripts/xdg-utils-common.in-55- search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" xdg-utils-1.1.3/scripts/xdg-utils-common.in:56: desktop="`basename "$1"`" xdg-utils-1.1.3/scripts/xdg-utils-common.in-57- IFS=: ############################################## xdg-utils-1.1.3/scripts/xdg-utils-common.in-81- # Remove any arguments (%F, %f, %U, %u, etc.). xdg-utils-1.1.3/scripts/xdg-utils-common.in:82: command="`grep -E "^Exec(\[[^]=]*])?=" "$file_path" | cut -d= -f 2- | first_word`" xdg-utils-1.1.3/scripts/xdg-utils-common.in:83: command="`which "$command"`" xdg-utils-1.1.3/scripts/xdg-utils-common.in-84- readlink -f "$command" ############################################## xdg-utils-1.1.3/scripts/xdg-utils-common.in-195- [ -n "$file_label" ] || file_label="filename" xdg-utils-1.1.3/scripts/xdg-utils-common.in:196: file=`basename "$1"` xdg-utils-1.1.3/scripts/xdg-utils-common.in-197- case "$file" in ############################################## xdg-utils-1.1.3/scripts/xdg-utils-common.in-218- else xdg-utils-1.1.3/scripts/xdg-utils-common.in:219: DIR=`dirname "$1"` xdg-utils-1.1.3/scripts/xdg-utils-common.in-220- if [ ! -w "$DIR" ] || [ ! -x "$DIR" ]; then ############################################## xdg-utils-1.1.3/scripts/xdg-utils-common.in-373- version=`LC_ALL=C.UTF-8 kde-config --version 2>/dev/null | grep '^KDE'` xdg-utils-1.1.3/scripts/xdg-utils-common.in:374: major=`echo $version | sed 's/KDE.*: \([0-9]\).*/\1/'` xdg-utils-1.1.3/scripts/xdg-utils-common.in:375: minor=`echo $version | sed 's/KDE.*: [0-9]*\.\([0-9]\).*/\1/'` xdg-utils-1.1.3/scripts/xdg-utils-common.in:376: release=`echo $version | sed 's/KDE.*: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` xdg-utils-1.1.3/scripts/xdg-utils-common.in-377- test "$major" -gt 3 && return $1 ############################################## xdg-utils-1.1.3/tests/Makefile.in-36-tests-clean: tests-userclean xdg-utils-1.1.3/tests/Makefile.in:37: find `echo "${XDG_DATA_DIRS}:/usr/local/share/:/usr/share/:${XDG_CONFIG_DIRS}:/etc/xdg" | sed -e 's/:/ /g'` -name 'xdgtestdata*' | xargs rm -rf xdg-utils-1.1.3/tests/Makefile.in:38: find `echo "${XDG_DATA_DIRS}:/usr/local/share/:/usr/share/:${XDG_CONFIG_DIRS}:/etc/xdg" | sed -e 's|:| |g'` -name 'x-xdgt*' | xargs rm -f xdg-utils-1.1.3/tests/Makefile.in-39- ############################################## xdg-utils-1.1.3/tests/doc_gen.pl-63- my $test = $2; xdg-utils-1.1.3/tests/doc_gen.pl:64: `mkdir -p doc/$dir`; xdg-utils-1.1.3/tests/doc_gen.pl-65- my $o = "doc/$dir/$test.html"; ############################################## xdg-utils-1.1.3/tests/include/system_info-5-if [ "$?" ] ; then xdg-utils-1.1.3/tests/include/system_info:6: distro=`perl $parentdir/linux_distro 2>&1` xdg-utils-1.1.3/tests/include/system_info-7-else ############################################## xdg-utils-1.1.3/tests/include/tempfile.sh-32- if [ -f "$seqfile" ] ; then xdg-utils-1.1.3/tests/include/tempfile.sh:33: seqdate=`cat $seqfile | cut -d '+' -f 1 -` xdg-utils-1.1.3/tests/include/tempfile.sh-34- if [ "$today" = "$seqdate" ] ; then xdg-utils-1.1.3/tests/include/tempfile.sh:35: seq=$(( `cat $seqfile | cut -d '+' -f 2 -` + 1 )) xdg-utils-1.1.3/tests/include/tempfile.sh-36- else ############################################## xdg-utils-1.1.3/tests/include/testassertions.sh-103-# PATH is a ':' separated list of directories xdg-utils-1.1.3/tests/include/testassertions.sh:104: search_dirs=`echo "$2" | tr ':' ' '` xdg-utils-1.1.3/tests/include/testassertions.sh:105: found_files=`find $search_dirs -name "$1" 2>/dev/null` xdg-utils-1.1.3/tests/include/testassertions.sh-106- ############################################## xdg-utils-1.1.3/tests/include/testassertions.sh-114-# Opposite of 'assert_file_in_path' xdg-utils-1.1.3/tests/include/testassertions.sh:115: search_dirs=`echo "$2" | tr ':' ' '` xdg-utils-1.1.3/tests/include/testassertions.sh:116: found_files=`find $search_dirs -name "$1" 2>/dev/null` xdg-utils-1.1.3/tests/include/testassertions.sh-117- ############################################## xdg-utils-1.1.3/tests/include/testassertions.sh-134- if [ -f "$2" ] ; then xdg-utils-1.1.3/tests/include/testassertions.sh:135: compare=`diff -wB "$1" "$2"` xdg-utils-1.1.3/tests/include/testassertions.sh-136- if [ ! -z "$compare" ] ; then ############################################## xdg-utils-1.1.3/tests/testrun-65- p ) export PATH="$OPTARG" ;; xdg-utils-1.1.3/tests/testrun:66: a ) DEFAULT_TEST_GROUPS=`ls -d $XDG_TEST_DIR/xdg-*` ;; xdg-utils-1.1.3/tests/testrun-67- h ) usage ;; ############################################## xdg-utils-1.1.3/tests/testrun-89- xdg-utils-1.1.3/tests/testrun:90:TEST_FILES=`find $TEST_GROUPS -name 't.*[^~]' | sort` xdg-utils-1.1.3/tests/testrun-91- ############################################## xdg-utils-1.1.3/tests/testrun-182- if [ -f "$TEST_STATUS_FILE" ] ; then xdg-utils-1.1.3/tests/testrun:183: RFAIL=`grep 'FAIL' "$TEST_STATUS_FILE" | cut -d ':' -f2` xdg-utils-1.1.3/tests/testrun:184: RPASS=`grep 'PASS' "$TEST_STATUS_FILE" | cut -d ':' -f2` xdg-utils-1.1.3/tests/testrun:185: RTOTAL=`grep 'TOTAL' "$TEST_STATUS_FILE" | cut -d ':' -f2` xdg-utils-1.1.3/tests/testrun:186: RATTEMPT=`grep 'ATTEMPT' "$TEST_STATUS_FILE" | cut -d ':' -f2` xdg-utils-1.1.3/tests/testrun-187- ############################################## xdg-utils-1.1.3/tests/tet_run-18-USING_TET="true" xdg-utils-1.1.3/tests/tet_run:19:TEST_GROUPS=`find "$XDG_TEST_DIR" -type d -name 'xdg-*'` xdg-utils-1.1.3/tests/tet_run:20:TEST_FILES=`find $TEST_GROUPS -name 't.*'` xdg-utils-1.1.3/tests/tet_run-21- ############################################## xdg-utils-1.1.3/tests/xdg-desktop-icon/t.00-apply_generic-7- xdg-utils-1.1.3/tests/xdg-desktop-icon/t.00-apply_generic:8:generic_tests=`ls $XDG_TEST_DIR/generic/t.*` xdg-utils-1.1.3/tests/xdg-desktop-icon/t.00-apply_generic-9-for t in $generic_tests; do ############################################## xdg-utils-1.1.3/tests/xdg-desktop-menu/t.00-apply_generic-7- xdg-utils-1.1.3/tests/xdg-desktop-menu/t.00-apply_generic:8:generic_tests=`ls $XDG_TEST_DIR/generic/t.*` xdg-utils-1.1.3/tests/xdg-desktop-menu/t.00-apply_generic-9-for t in $generic_tests; do ############################################## xdg-utils-1.1.3/tests/xdg-email/t.00-apply_generic-6- xdg-utils-1.1.3/tests/xdg-email/t.00-apply_generic:7:generic_tests=`ls $XDG_TEST_DIR/generic/t.*` xdg-utils-1.1.3/tests/xdg-email/t.00-apply_generic-8-for t in $generic_tests; do ############################################## xdg-utils-1.1.3/tests/xdg-icon-resource/t.apply_generic-7- xdg-utils-1.1.3/tests/xdg-icon-resource/t.apply_generic:8:generic_tests=`ls $XDG_TEST_DIR/generic/t.*` xdg-utils-1.1.3/tests/xdg-icon-resource/t.apply_generic-9-for t in $generic_tests; do ############################################## xdg-utils-1.1.3/tests/xdg-mime/t.00-apply_generic-7- xdg-utils-1.1.3/tests/xdg-mime/t.00-apply_generic:8:generic_tests=`ls $XDG_TEST_DIR/generic/t.*` xdg-utils-1.1.3/tests/xdg-mime/t.00-apply_generic-9-for t in $generic_tests; do ############################################## xdg-utils-1.1.3/tests/xdg-open/t.00-apply_generic-8- xdg-utils-1.1.3/tests/xdg-open/t.00-apply_generic:9:generic_tests=`ls $XDG_TEST_DIR/generic/t.*` xdg-utils-1.1.3/tests/xdg-open/t.00-apply_generic-10-for t in $generic_tests; do ############################################## xdg-utils-1.1.3/tests/xdg-screensaver/t.00-apply_generic-7- xdg-utils-1.1.3/tests/xdg-screensaver/t.00-apply_generic:8:generic_tests=`ls $XDG_TEST_DIR/generic/t.*` xdg-utils-1.1.3/tests/xdg-screensaver/t.00-apply_generic-9-for t in $generic_tests; do ############################################## xdg-utils-1.1.3/tests/xdg-su/t.00-apply_generic-7- xdg-utils-1.1.3/tests/xdg-su/t.00-apply_generic:8:generic_tests=`ls $XDG_TEST_DIR/generic/t.*` xdg-utils-1.1.3/tests/xdg-su/t.00-apply_generic-9-for t in $generic_tests; do ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-140- desktop=`xdg-mime query default "x-scheme-handler/mailto"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in:141: client=`desktop_file_to_binary "$desktop"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-142- echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1 ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-241- desktop=`xdg-mime query default "x-scheme-handler/mailto"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in:242: client=`desktop_file_to_binary "$desktop"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-243- echo $client | grep -E 'thunderbird|icedove' > /dev/null 2>&1 ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-259- xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in:260: browser_with_arg=`printf "$browser" "$1" 2>/dev/null` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-261- if [ $? -ne 0 ]; then browser_with_arg=$browser; ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-376- check_input_file "$1" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in:377: file=`readlink -f "$1"` # Normalize path xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-378- if [ -z "$file" ] || [ ! -f "$file" ] ; then ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-429-# Strip trailing ? and & xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in:430:mailto=`echo "${mailto}"| sed 's/[?&]$//'` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-email.in-431- ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-41- fi xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:42: for x in `echo "$PATH:/opt/gnome/bin" | sed 's/:/ /g'`; do xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-43- if [ -x $x/update-mime-database ] ; then ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-324- desktop_file="" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:325: for d in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:326: for x in `search_desktop_file "$MIME" "$d/applications"`; do xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:327: pref=0`awk -F"=" '/InitialPreference=/ {print($2)}' "$x"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-328- DEBUG 2 " Checking $x" ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-338- if [ -n "$desktop_file" ] ; then xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:339: echo `basename $desktop_file` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-340- exit_success ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-419- xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:420: for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-421- for prefix in "$XDG_MENU_PREFIX" ""; do xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-422- DEBUG 2 "Checking $x/applications/${prefix}defaults.list and $x/applications/${prefix}mimeinfo.cache" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:423: trader_result=`grep "$MIME=" $x/applications/${prefix}defaults.list $x/applications/${prefix}mimeinfo.cache 2> /dev/null | head -n 1 | cut -d '=' -f 2 | cut -d ';' -f 1` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-424- if [ -n "$trader_result" ] ; then ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-444- 5) xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:445: KTRADER=`which ktraderclient${KDE_SESSION_VERSION} 2> /dev/null` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-446- ;; ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-502- check_input_file "$filename" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:503: filename=`readlink -f -- "$filename"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-504- ;; ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-705-[ -n "$xdg_system_dirs" ] || xdg_system_dirs=/usr/local/share/:/usr/share/ xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:706:for x in `echo $xdg_system_dirs | sed 's/:/ /g'`; do xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-707- if [ -w $x/$xdg_dir_name ] ; then ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-719-kde_global_dir= xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:720:kde_global_dirs=`kde${KDE_SESSION_VERSION}-config --path mime 2> /dev/null` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-721-DEBUG 3 "kde_global_dirs: $kde_global_dirs" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-722-first= xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:723:for x in `echo $kde_global_dirs | sed 's/:/ /g'` ; do xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-724- if [ -z "$first" ] ; then ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-761- xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:762:basefile=`basename "$filename"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-763-#[ -z $vendor ] || basefile="$vendor-$basefile" ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-827- DEBUG 1 "Installing $kde_dir/$x.desktop (KDE 3.x support)" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in:828: mkdir -p `dirname $kde_dir/$x.desktop` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-mime.in-829- awk < "$filename" ' ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-276- file="$dir/$default" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in:277: elif [ -r "$dir/`echo $default | sed -e 's|-|/|'`" ]; then xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in:278: file="$dir/`echo $default | sed -e 's|-|/|'`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-279- fi ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-282- command="$(get_key "${file}" "Exec" | first_word)" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in:283: command_exec=`which $command 2>/dev/null` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-284- icon="$(get_key "${file}" "Icon")" ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-338- filetype="$2" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in:339: default=`xdg-mime query default "$filetype"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-340- if [ -n "$default" ] ; then ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-347-DEBUG 3 "$xdg_user_dir:$xdg_system_dirs" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in:348: for x in `echo "$xdg_user_dir:$xdg_system_dirs" | sed 's/:/ /g'`; do xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-349- search_desktop_file "$default" "$x/applications/" "$1" ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-355-{ xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in:356: filetype=`xdg-mime query filetype "$1" | sed "s/;.*//"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-357- open_generic_xdg_mime "$1" "$filetype" ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-361-{ xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in:362: scheme="`echo $1 | sed -n 's/\(^[[:alnum:]+\.-]*\):.*$/\1/p'`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-363- if [ -n $scheme ]; then ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-409- if has_display; then xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in:410: filetype=`xdg-mime query filetype "$file" | sed "s/;.*//"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-open.in-411- open_generic_xdg_mime "$file" "$filetype" ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-33- MV="mv -T" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:34: screensaver_file="/tmp/xdg-screensaver-$USER-"`echo $DISPLAY | sed 's/:/-/g'` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-35-else ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-38- MV="mv" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:39: screensaver_file="$HOME/.xdg-screensaver-"`echo $(hostname)-$DISPLAY | sed 's/:/-/g'` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-40-fi ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-129- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:130: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-131- $MV "$tmpfile" "$screensaver_file.dpms" ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-142- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:143: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-144- grep -v "$window_id:$xprop_pid\$" "$screensaver_file" > "$tmpfile" 2> /dev/null ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-159- # Find the PID of the trackingprocess xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:160: xprop_pid=`grep "$window_id:" "$screensaver_file" 2> /dev/null | cut -d ':' -f 2` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-161- unlockfile # Free lockfile ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-194- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:195: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-196- # Filter stale entries from the xdg-screensaver status file ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-254- if [ -f "$screensaver_file.cookie" ] ; then xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:255: value=`cat "$screensaver_file.cookie"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-256- dbus-send --session \ ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-289- if [ -f "$screensaver_file.cookie" ] ; then xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:290: value=`cat "$screensaver_file.cookie"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-291- dbus-send --session \ ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-397- if [ -f "$screensaver_file.xset" ] ; then xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:398: value=`cat "$screensaver_file.xset"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-399- xset s $value > /dev/null ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-438- test "${TMPDIR+set}" = set || TMPDIR=/tmp xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in:439: tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-screensaver.in-440- # Filter stale entries from the xdg-screensaver status file ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-25- search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:26: binary="`which "$1"`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:27: binary="`readlink -f "$binary"`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:28: base="`basename "$binary"`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-29- IFS=: ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-39- grep -Eq "^(NoDisplay|Hidden)=true" "$file" && continue xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:40: command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:41: command="`which "$command"`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:42: if [ x"`readlink -f "$command"`" = x"$binary" ]; then xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-43- # Fix any double slashes that got added path composition ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-55- search="${XDG_DATA_HOME:-$HOME/.local/share}:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:56: desktop="`basename "$1"`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-57- IFS=: ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-81- # Remove any arguments (%F, %f, %U, %u, etc.). xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:82: command="`grep -E "^Exec(\[[^]=]*])?=" "$file_path" | cut -d= -f 2- | first_word`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:83: command="`which "$command"`" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-84- readlink -f "$command" ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-195- [ -n "$file_label" ] || file_label="filename" xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:196: file=`basename "$1"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-197- case "$file" in ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-218- else xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:219: DIR=`dirname "$1"` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-220- if [ ! -w "$DIR" ] || [ ! -x "$DIR" ]; then ############################################## xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-374- version=`LC_ALL=C.UTF-8 kde-config --version 2>/dev/null | grep '^KDE'` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:375: major=`echo $version | sed 's/KDE.*: \([0-9]\).*/\1/'` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:376: minor=`echo $version | sed 's/KDE.*: [0-9]*\.\([0-9]\).*/\1/'` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in:377: release=`echo $version | sed 's/KDE.*: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` xdg-utils-1.1.3/.pc/debian-changes/scripts/xdg-utils-common.in-378- test "$major" -gt 3 && return $1