diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2014-06-18 14:58:03 +0400 |
---|---|---|
committer | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2014-06-18 14:58:03 +0400 |
commit | a92411b03c51358baf96a8bcb322e9bd1bfda6b7 (patch) | |
tree | 6b2c9b40be2cc9484abbf917054d193919f83ef6 /data/appstream-util | |
parent | ac8905c8650f58081690a0e87824f41f1d719636 (diff) | |
download | appstream-glib-a92411b03c51358baf96a8bcb322e9bd1bfda6b7.tar.gz |
bash-completion: add helper for convert
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'data/appstream-util')
-rw-r--r-- | data/appstream-util | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/appstream-util b/data/appstream-util index 561be0a..5188006 100644 --- a/data/appstream-util +++ b/data/appstream-util @@ -69,6 +69,14 @@ _appstream-util() ;; esac ;; + convert) + ext='@(xml.gz|appdata.xml?(.in))' + case $prev in + *.xml.gz|*.appdata.xml?(.in)) + ext='' + ;; + esac + ;; *) ;; esac |