Lucius Hu e4d0468cfe swupd.bash: Multiple improvements
- All options and subcommands are automatically generated from help messages.
- Used `_init_completion` to set $cur, $prev, $words variables, which are
  equivalent to $2, $3, $COMP_WORD, but far more readable.
  - It also allows possibility to use other functions provided in
    `/usr/share/bash-completion/bash_completion`, for future
- A minor change on getting current OS version via `swupd info --quiet` from
  reading `/var/lib/swupd/version`, which is non-readable to non-root users
  - Though MoM file is still non-readable to non-root users
- We only ship modern Bash, so the test on Bash version near the end of the
  script is removed
2020-05-05 09:09:53 -07:00
2020-03-09 14:10:51 -07:00
2020-04-24 08:14:45 -07:00
2016-03-07 14:23:18 -08:00
2020-04-24 08:14:45 -07:00
2020-04-30 13:56:35 -07:00
2016-02-24 09:34:13 -08:00
2020-05-05 09:09:53 -07:00

Swupd Client

Shellcheck Swupd tests

swupd is an OS-level software update program that applies updates to a Clear Linux OS. More information on how to use swupd can be found in the official documentation, swupd command man page and other documents on docs directory.

Reporting problems

Use github issue report tool (https://github.com/clearlinux/swupd-client/issues) to report bugs, issues and feature requests.

To help us to reproduce a bug reported, please attach the swupd command line, the command output, swupd version ('swupd -v' output) and clear linux version ('swupd info' output).

For other questions, contact us in Clear Linux mailing list (dev@lists.clearlinux.org) or IRC channel ( #clearlinux on Freenode).

How to contribute

Swupd client is open for contributions, so we are more than willing to review your patches! For more information take a look on the how to contribute guide

Reporting Security Concerns

If you have discovered potential security vulnerability in Swupd, please visit https://01.org/security for best practices on reporting security issues and to report your concern.

S
Description
No description provided
Readme 11 MiB
Languages
Shell 53.1%
C 44.7%
M4 0.9%
Python 0.7%
Makefile 0.5%
Other 0.1%