Commit graph

5 commits

Author SHA1 Message Date
piterpunk
13c79b1eb2 New exit status for different situations
To make easier to do an unattended slackpkg update/upgrade process,
this commit provides different exit codes to many situations:

  0    Successful slackpkg execution.
  1    Something wrong happened.
  20   No package found to be downloaded, installed, reinstalled,
       upgraded, or removed.
  50   Slackpkg itself was upgraded and you need to re-run it.
  100  There are pending updates.

Code and the main manpage are updated accordingly.

In addition, this commit also:

  - removes the ChangeLog.txt in doinst.sh, so the needed
    'slackpkg update' after Slackpkg upgrade won't says it's all OK
    and don't need to redo the package lists
  - removes AUTHORS from manpage. Nowadays there are code from many
    people in Slackpkg and shows a bit unfair to have only my and
    Evaldo's name listed there.

Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-10-12 00:34:27 -05:00
Stuart Winter
2c37581b16 Split aarch64 and arm mirrors into separate files
Signed-off-by: Robby Workman <rworkman@slackware.com>
2021-02-09 22:08:23 -06:00
Robby Workman
845c1b0ed2 doinst.sh - remove /var/lib/slackpkg/CHECKSUMS* on upgrade
This fixes a slight regression from e1fc7d9987
2019-04-08 01:41:24 -05:00
Patrick J. Volkerding
09868036d8 doinst.sh Don't remove ChangeLog.txt upon upgrade/reinstall.
We're going to stop doing this and see if anything breaks :-)

Signed-off-by: Robby Workman <rworkman@slackware.com>
2018-06-14 22:58:56 -05:00
Robby Workman
406e0e84f5 *: Initial commit of slackpkg (as of 2.82.2 release) 2017-10-22 01:59:41 -05:00