| Index: third_party/xdg-utils/scripts/xdg-desktop-icon
|
| ===================================================================
|
| --- third_party/xdg-utils/scripts/xdg-desktop-icon (revision 79890)
|
| +++ third_party/xdg-utils/scripts/xdg-desktop-icon (working copy)
|
| @@ -6,6 +6,8 @@
|
| #
|
| # Refer to the usage() function below for usage.
|
| #
|
| +# Copyright 2009-2010, Fathi Boudra <fabo@freedesktop.org>
|
| +# Copyright 2009-2010, Rex Dieter <rdieter@fedoraproject.org>
|
| # Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at>
|
| # Copyright 2006, Jeremy White <jwhite@codeweavers.com>
|
| #
|
| @@ -496,6 +498,7 @@
|
| esac
|
|
|
| my_umask=077
|
| +desktop_dir="$HOME/Desktop"
|
| if xdg-user-dir 2>/dev/null 1>&2; then
|
| desktop_dir=`xdg-user-dir DESKTOP`
|
| fi
|
| @@ -534,6 +537,7 @@
|
| if [ -n "$x" ]; then
|
| mkdir -p "$x"
|
| eval 'cp "$desktop_file" "$x/$basefile"'$xdg_redirect_output
|
| + chmod u+x "$x/$basefile"
|
| fi
|
| done
|
|
|
| @@ -546,6 +550,7 @@
|
| rm -f "$x/$basefile"
|
| fi
|
| done
|
| +
|
| ;;
|
| esac
|
|
|
|
|