tools/gstreamer-completion: Allow 1.0 and 0.10 scripts installed simultaneously
tools/gstreamer-completion: Allow 1.0 and 0.10 scripts installed simultaneously

As long as the scripts' filenames are different, and the _gst_inspect
and _gst_launch functions are named differently, the completion scripts
for GStreamer 1.0 and 0.10 can be installed side-by-side in
/etc/bash_completion.d.

On my 0.10 branch† the completion script is renamed to
"gstreamer-completion-0.10" and the functions are renamed to
"_gst_inspect_0_10" and "_gst_launch_0_10". The remaining helper
functions should remain identical (the command-line interface to
gst-inspect hasn't changed, nor has the format of the gst-launch
pipeline), so it doesn't matter if the 1.0 script overrides the 0.10
script's definitions.

Note that I don't expect there to be another GStreamer 0.10 release, so
the 0.10 completion script will probably never be officially released;
but it is still worthwhile allowing both scripts to be installed
alongside each other, for those who install the 0.10 completion script
manually.

Fixes: #690515

† https://github.com/drothlis/gstreamer/blob/bash-completion-0.10/tools/gstreamer-completion-0.10

krichter722/gstreamer,centricular/gstreamer,StreamUtils/gstreamer,Lachann/gstreamer,Lachann/gstreamer,surround-io/gstreamer,krichter722/gstreamer,collects/gstreamer,lovebug356/gstreamer,mparis/gstreamer,cablelabs/gstreamer,shelsonjava/gstreamer,ensonic/gstreamer,StreamUtils/gstreamer,mparis/gstreamer,centricular/gstreamer,shelsonjava/gstreamer,lovebug356/gstreamer,centricular/gstreamer,lubosz/gstreamer,cablelabs/gstreamer,collects/gstreamer,krichter722/gstreamer,jpakkane/gstreamer,krichter722/gstreamer,cablelabs/gstreamer,surround-io/gstreamer,surround-io/gstreamer,jpakkane/gstreamer,jpxiong/gstreamer,StreamUtils/gstreamer,krieger-od/gstreamer,collects/gstreamer,centricular/gstreamer,ensonic/gstreamer,krieger-od/gstreamer,justinjoy/gstreamer,justinjoy/gstreamer,shelsonjava/gstreamer,mparis/gstreamer,collects/gstreamer,jpxiong/gstreamer,shelsonjava/gstreamer,krieger-od/gstreamer,lovebug356/gstreamer,krieger-od/gstreamer,mparis/gstreamer,collects/gstreamer,mparis/gstreamer,cfoch/gstreamer,Lachann/gstreamer,centricular/gstreamer,justinjoy/gstreamer,StreamUtils/gstreamer,surround-io/gstreamer,cablelabs/gstreamer,ensonic/gstreamer,shelsonjava/gstreamer,Lachann/gstreamer,ensonic/gstreamer,jpakkane/gstreamer,lubosz/gstreamer,jpakkane/gstreamer,lubosz/gstreamer,cfoch/gstreamer,cfoch/gstreamer,cfoch/gstreamer,lubosz/gstreamer,justinjoy/gstreamer,jpxiong/gstreamer,krichter722/gstreamer,StreamUtils/gstreamer,krieger-od/gstreamer,jpxiong/gstreamer,jpxiong/gstreamer,Lachann/gstreamer,surround-io/gstreamer,cablelabs/gstreamer,lovebug356/gstreamer,ensonic/gstreamer,lovebug356/gstreamer,justinjoy/gstreamer,jpakkane/gstreamer,lubosz/gstreamer,cfoch/gstreamer