diff --git a/openmamba-update/openmamba-netsrpms b/openmamba-update/openmamba-netsrpms index 81db589..bee5026 100755 --- a/openmamba-update/openmamba-netsrpms +++ b/openmamba-update/openmamba-netsrpms @@ -58,7 +58,7 @@ for pckname in $PACKAGES; do icon=`grep Icon= /usr/share/applications/openmamba-$pckname.desktop | sed "s|Icon=||"` - SPEC_VERSION=${SRPMVERSION[${pckname}]}-${SRPMRELEASE[${pckname}]} + SRPM_VERSION=${SRPMVERSION[${pckname}]}-${SRPMRELEASE[${pckname}]} RPM_INSTALLED=`rpm -q $pckname` [ $? -eq 0 ] || RPM_INSTALLED= @@ -69,10 +69,10 @@ for pckname in $PACKAGES; do echo $"Package name: $pckname" echo $"Installed version: $RPM_INSTALLED_VERSION" - echo $"Last version: $SPEC_VERSION" + echo $"Last version: $SRPM_VERSION" echo - if [ "$RPM_INSTALLED_VERSION" != "$SPEC_VERSION" ]; then + if [ "$RPM_INSTALLED_VERSION" != "$SRPM_VERSION" ]; then if [ "$RPM_INSTALLED_VERSION" ]; then UPDATE_NEEDED=1 elif [ "$UPGRADE_MODE" ]; then