diff --git a/ChangeLog.txt b/ChangeLog.txt index cfff81c..27b4951 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,9 @@ +Wed Jun 22 00:01:56 CEST 2016 +pkg/slackpkg+-1.7.0d0-noarch-2mt.txz: Rebuilt + - slackpkg check-updates did not work unless you set VERBOSE=3 (thanks to + Talus). ++-------------------------+ + Tue Jun 15 00:45:00 CEST 2016 pkg/slackpkg+-1.7.0d0-noarch-1mt.txz: Upgraded Setting up mainline branch. diff --git a/src/ChangeLog.txt b/src/ChangeLog.txt index cfff81c..27b4951 100644 --- a/src/ChangeLog.txt +++ b/src/ChangeLog.txt @@ -1,3 +1,9 @@ +Wed Jun 22 00:01:56 CEST 2016 +pkg/slackpkg+-1.7.0d0-noarch-2mt.txz: Rebuilt + - slackpkg check-updates did not work unless you set VERBOSE=3 (thanks to + Talus). ++-------------------------+ + Tue Jun 15 00:45:00 CEST 2016 pkg/slackpkg+-1.7.0d0-noarch-1mt.txz: Upgraded Setting up mainline branch. diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index 9b10022..9246a7f 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -1974,6 +1974,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then if [ $VERBOSE -eq 3 ];then checkchangelog + ERR=$? else if [[ ! ${SPINNING} = "off" ]]; then echo -n "Searching for updates... " @@ -1982,10 +1983,11 @@ if [ "$SLACKPKGPLUS" = "on" ];then exec 3>&1 4>&2 TTYREDIRECTION=1 checkchangelog >/dev/null 2>&1 + ERR=$? TTYREDIRECTION="" exec 1>&3 2>&4 fi - if [ $? -ne 0 ]; then + if [ $ERR -ne 0 ]; then # -- Note: # checkchangelog() download the ChangeLog.txt and stores it