OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 #--------------------------------------------- | 2 #--------------------------------------------- |
3 # xdg-open | 3 # xdg-open |
4 # | 4 # |
5 # Utility script to open a URL in the registered default application. | 5 # Utility script to open a URL in the registered default application. |
6 # | 6 # |
7 # Refer to the usage() function below for usage. | 7 # Refer to the usage() function below for usage. |
8 # | 8 # |
| 9 # Copyright 2009-2010, Fathi Boudra <fabo@freedesktop.org> |
| 10 # Copyright 2009-2010, Rex Dieter <rdieter@fedoraproject.org> |
9 # Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at> | 11 # Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at> |
10 # Copyright 2006, Jeremy White <jwhite@codeweavers.com> | 12 # Copyright 2006, Jeremy White <jwhite@codeweavers.com> |
11 # | 13 # |
12 # LICENSE: | 14 # LICENSE: |
13 # | 15 # |
14 # Permission is hereby granted, free of charge, to any person obtaining a | 16 # Permission is hereby granted, free of charge, to any person obtaining a |
15 # copy of this software and associated documentation files (the "Software"), | 17 # copy of this software and associated documentation files (the "Software"), |
16 # to deal in the Software without restriction, including without limitation | 18 # to deal in the Software without restriction, including without limitation |
17 # the rights to use, copy, modify, merge, publish, distribute, sublicense, | 19 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
18 # and/or sell copies of the Software, and to permit persons to whom the | 20 # and/or sell copies of the Software, and to permit persons to whom the |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 ;; | 514 ;; |
513 | 515 |
514 generic) | 516 generic) |
515 open_generic "$url" | 517 open_generic "$url" |
516 ;; | 518 ;; |
517 | 519 |
518 *) | 520 *) |
519 exit_failure_operation_impossible "no method available for opening '$url'" | 521 exit_failure_operation_impossible "no method available for opening '$url'" |
520 ;; | 522 ;; |
521 esac | 523 esac |
OLD | NEW |