mirror of
https://github.com/rworkman/slackpkg
synced 2025-01-30 20:35:00 +01:00
Fix exit code for pending updates.
This commit is contained in:
parent
2a9a6b25b3
commit
0080f0810d
4 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
|
||||
---------------
|
||||
- Fix exit code for pending updates (dive)
|
||||
- Avoid matching txz/tgz etc extension when blacklisting (dive)
|
||||
- Use https for all slackpkg homepage links
|
||||
- Update mirror files (14.2 -> 15.0)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# Clean-up tmp and lock files
|
||||
#
|
||||
function cleanup() {
|
||||
local retval=0
|
||||
local retval=${PENDING_UPDATES:-0}
|
||||
[ "$SPINNING" = "off" ] || tput cnorm
|
||||
if [ -e $TMPDIR/error.log ]; then
|
||||
retval=1
|
||||
|
|
|
@ -332,6 +332,7 @@ case "$CMD" in
|
|||
echo "Slackpkg: No updated packages since last check."
|
||||
else
|
||||
echo "Slackpkg: Updated packages are available since last check." >&2
|
||||
PENDING_UPDATES=1
|
||||
fi
|
||||
;;
|
||||
show-changelog)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PKGNAM=slackpkg
|
||||
VERSION=${VERSION:-15.0.1}
|
||||
VERSION=${VERSION:-15.0.1_beta1}
|
||||
ARCH="noarch"
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue