| 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> |
| 11 # Copyright 2009-2010, Rex Dieter <rdieter@fedoraproject.org> |
| 10 # Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at> | 12 # Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at> |
| 11 # Copyright 2006, Jeremy White <jwhite@codeweavers.com> | 13 # Copyright 2006, Jeremy White <jwhite@codeweavers.com> |
| 12 # | 14 # |
| 13 # LICENSE: | 15 # LICENSE: |
| 14 # | 16 # |
| 15 #--------------------------------------------- | 17 #--------------------------------------------- |
| 16 | 18 |
| 17 manualpage() | 19 manualpage() |
| 18 { | 20 { |
| 19 cat << _MANUALPAGE | 21 cat << _MANUALPAGE |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 ;; | 97 ;; |
| 96 | 98 |
| 97 gnome) | 99 gnome) |
| 98 copy_gnome "$source" "$dest" | 100 copy_gnome "$source" "$dest" |
| 99 ;; | 101 ;; |
| 100 | 102 |
| 101 *) | 103 *) |
| 102 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'" |
| 103 ;; | 105 ;; |
| 104 esac | 106 esac |
| OLD | NEW |