fix for installed packages not being listed at the top of the info item screen

This commit is contained in:
chess.griffin 2008-12-12 15:42:52 +00:00
parent 0d9045e8d2
commit 55b7dabefa

View file

@ -508,7 +508,8 @@ if [ "$IPACKAGE" = "" ]; then
else
JPACKAGE="Install $IPACKAGE"
fi
KPACKAGE="$(basename $(ls -1 /var/log/packages/* | grep -hZm1 $APP.*$RVERSION))"
KPACKAGE="$(basename $(ls -1 /var/log/packages/* | grep -hZm1 $APP[-_][rs0-9]))"
#KPACKAGE="$(basename $(ls -1 /var/log/packages/* | grep -hZm1 $APP.*$RVERSION))"
if [ "$KPACKAGE" = "" ]; then
LPACKAGE="$APP (Not Installed)"
else