rworkman / slackpkg

Slackware's slackpkg
35 stars 12 forks source link

Always rebuilds package lists if missing #17

Closed piterpunk closed 2 years ago

piterpunk commented 3 years ago

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

rworkman commented 2 years ago

Merged in ea08809a7510f1fafa1a5d818933c6cddffe5f69