luca
/
bootstrapper
Archived
1
0
Fork 0

allow comments in packages.txt again

This commit is contained in:
Luca Bilke 2024-02-09 10:39:51 +01:00
parent 70d649c98d
commit a4ae9943f6
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ setup() {
install_packages() {
#shellcheck disable=SC2016,SC2046
xbps-install -y $(xargs -a "$1") 2>&1 | grep -q "not found in repository pool." && error "Invalid package in packages.txt, run validate.sh"
xbps-install -y $(sed '/^[[:space:]]*#/d;/^$/d' packages.txt | xargs) 2>&1 | grep -q "not found in repository pool." && error "Invalid package in packages.txt, run validate.sh"
info "Done!"
command -v git 1>/dev/null 2>&1 || error "git isn't installed even though it should be!"
command -v stow 1>/dev/null 2>&1 || error "stow isn't installed even though it should be!"