Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/xdg-utils/scripts/xdg-copy

Issue 3273010: Update our copy of xdg-utils to 2010-08-30, and include a patched xdg-mime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/xdg-utils/scripts/man/xdg-open.1 ('k') | third_party/xdg-utils/scripts/xdg-copy.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/scripts/xdg-copy
===================================================================
--- third_party/xdg-utils/scripts/xdg-copy (revision 57942)
+++ third_party/xdg-utils/scripts/xdg-copy (working copy)
@@ -240,7 +240,11 @@
copy_gnome()
{
- gnomevfs-copy "$1" "$2"
+ if gvfs-copy --help 2>/dev/null 1>&2; then
+ gvfs-copy "$1" "$2"
+ else
+ gnomevfs-copy "$1" "$2"
+ fi
if [ $? -eq 0 ]; then
exit_success
« no previous file with comments | « third_party/xdg-utils/scripts/man/xdg-open.1 ('k') | third_party/xdg-utils/scripts/xdg-copy.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698