[ User ] Login

Bug 236: OPEN

tazpkg info wrong version information

Date: 2020-08-17 - Creator: hgt - Priority standard - 0 messages

For packages that have been installed from a local tazpkg file
(as for example with get-package)
$ tazpkg info package
always appends
(new version "" available)
to the actual version.
This can be avoided by replacing 
if [ "$VERSION" != "$NEWVER" ]; then
with
if [ "$NEWVER" != "" -a "$VERSION" != "$NEWVER" ]; then
and
if [ "$OLDMD5" != "$NEWMD5" ]; then
with
if [ "$NEWMD5" != "" -a "$OLDMD5" != "$NEWMD5" ]; then
in
/usr/libexec/tazpkg/info

Affected package(s): tazpkg

Messages

No messages