This PR changes the behaviour of Slackpkg if the package lists are missing.
Before this PR, the user was asked to run slackpkg update to download and rebuilt the lists.
With this PR applied, the package lists will be automatically downloaded and rebuilt when missing.
Keep in mind this does not eliminate the slackpkg update need if there is a package list file present. In this case, the user still needs to run it to update the package lists with the new contents.
This PR changes the behaviour of Slackpkg if the package lists are missing.
Before this PR, the user was asked to run
slackpkg update
to download and rebuilt the lists.With this PR applied, the package lists will be automatically downloaded and rebuilt when missing.
Keep in mind this does not eliminate the
slackpkg update
need if there is a package list file present. In this case, the user still needs to run it to update the package lists with the new contents.Fixes: #16