diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-28 12:01:03 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-04-23 15:23:30 +0200 |
commit | c3f0d39675de3cc69542416ea6f954b1d67c6962 (patch) | |
tree | ab71fee6a9c86d9305143d06dc4e71b51f89a821 /functions | |
parent | c57b8679a4664c83c50648c106ba224048cedeee (diff) | |
download | vyos-live-build-c3f0d39675de3cc69542416ea6f954b1d67c6962.tar.gz vyos-live-build-c3f0d39675de3cc69542416ea6f954b1d67c6962.zip |
config: apt-get should probably be an allowed and documented --apt value
since everywhere where 'apt' is a permitted value, 'apt-get' is also, it
just wasn't listed in the option's documentation and thus was also not
listed in the new validation check.
Gbp-Dch: Short
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/configuration.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/configuration.sh b/functions/configuration.sh index decc564be..be3adf621 100755 --- a/functions/configuration.sh +++ b/functions/configuration.sh @@ -587,7 +587,7 @@ Validate_config_permitted_values () exit 1 fi - if ! In_list "${LB_APT}" apt aptitude; then + if ! In_list "${LB_APT}" apt apt-get aptitude; then Echo_error "You have specified an invalid value for LB_APT (--apt)." exit 1 fi |