diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-04 17:05:43 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-05 11:01:06 -0400 |
commit | e61fe664a4a3fd9ae09ff1890cc1dc3285ab3634 (patch) | |
tree | 86b7bbd54e93ec5a5cdff89b32b0be4ea49bcf17 /nix/libstore/store-api.cc | |
parent | af66a9510fdbe9a7cb3ad2a1acdf190553727704 (diff) | |
download | guix-e61fe664a4a3fd9ae09ff1890cc1dc3285ab3634.tar.gz guix-e61fe664a4a3fd9ae09ff1890cc1dc3285ab3634.zip |
guix-install.sh: Please the shellcheck linter.
* etc/guix-install.sh <FUNCNAME>: Explicitly refer to the first item of the
FUNCNAME array.
(ROOT_HOME): Replace variable by ~root directly; manually expanding it via
echo was not necessary.
(chk_gpg_keyring): Use an if branch for the exit to avoid a warning about
expression precedence.
(chk_term) <ansi_term>: Remove unused variable.
(guix_get_bin) <wget, gpg>: Test the commands directly. Use an array for the
wget arguments, which can then be properly expanded.
(sys_create_store): Disable SC1090 for the source command, as we don't care
about following the sourced script.
<_msg>: Reuse the GUIX_PROFILE variable in the message.
(sys_create_build_user) <getent>: Test the command directly.
Diffstat (limited to 'nix/libstore/store-api.cc')
0 files changed, 0 insertions, 0 deletions