| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 #--------------------------------------------- | 2 #--------------------------------------------- |
| 3 # xdg-copy | 3 # xdg-copy |
| 4 # | 4 # |
| 5 # Utility script to copy files specified by URLs, including | 5 # Utility script to copy files specified by URLs, including |
| 6 # downloading and uploading from/to remote sites. | 6 # downloading and uploading from/to remote sites. |
| 7 # | 7 # |
| 8 # Refer to the usage() function below for usage. | 8 # Refer to the usage() function below for usage. |
| 9 # | 9 # |
| 10 # Copyright 2009-2010, Fathi Boudra <fabo@freedesktop.org> | 10 # Copyright 2009-2010, Fathi Boudra <fabo@freedesktop.org> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 exit_failure_syntax "destination argument missing" | 89 exit_failure_syntax "destination argument missing" |
| 90 fi | 90 fi |
| 91 | 91 |
| 92 detectDE | 92 detectDE |
| 93 | 93 |
| 94 case "$DE" in | 94 case "$DE" in |
| 95 kde) | 95 kde) |
| 96 copy_kde "$source" "$dest" | 96 copy_kde "$source" "$dest" |
| 97 ;; | 97 ;; |
| 98 | 98 |
| 99 gnome) | 99 gnome*) |
| 100 copy_gnome "$source" "$dest" | 100 copy_gnome "$source" "$dest" |
| 101 ;; | 101 ;; |
| 102 | 102 |
| 103 *) | 103 *) |
| 104 exit_failure_operation_impossible "no method available for copying '$source'
to '$dest'" | 104 exit_failure_operation_impossible "no method available for copying '$source'
to '$dest'" |
| 105 ;; | 105 ;; |
| 106 esac | 106 esac |
| OLD | NEW |