NNBnh/superb-bootstrap

Command duplicate in superbbootstrap_XBPS() function?

Closed this issue · 2 comments

xfzv commented

superb-bootstrap/setup

Lines 169 to 170 in 5b8a7f2

sudo xbps-install --sync --yes --update
sudo xbps-install --sync --yes --update

Not sure whether you duplicated the line by mistake or if there's a legitimate reason why the operation is run twice?

NNBnh commented

There's a legit reason to run it twice:

  • The first time is to update xbps itself so it can update other packages
  • The second time is to truly update packages

This should be comment beside the command in the next update

xfzv commented

My bad, I'm not very familiar with XBPS. Thanks for the explanation!