openmamba-netsrpms: further fix to preserve translations (lazy mode)
This commit is contained in:
parent
e613b469ed
commit
d8bfa1b69c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user