overly complicated commands in installer script.deb.sh
Summary
Some commands in the installer script look overly complicated.
Steps to reproduce
Search for "lsb_release" and "awk" in https://packages.gitlab.com/gitlab/gitlab-ce/install
Expected behavior
- To omit the field title for
lsb_release:-sor--short - To convert american letters to lowercase:
tr A-Z a-z
Actual behavior
- Field title from
lsb_releaseis output and piped tocut -f2in order to be removed in an extra step.. - To convert american letters to lowercase, a full-blown
awkis invoked.
Relevant logs and/or screenshots
Output of checks
Results of GitLab application Check
Results of GitLab environment info
Possible fixes
see expectations.
Edited by 🤖 GitLab Bot 🤖