Christian Boltz changed bug 1095723
What Removed Added
CC   suse-beta@cboltz.de

Comment # 12 on bug 1095723 from
As reported by Carlos on opensuse-support, pin is still broken in Leap 15:


cer@Telcontar:~> pin Gray_A.icc
/usr/bin/pin: command substitution: line 89: unexpected EOF while looking for
matching `"'
/usr/bin/pin: command substitution: line 90: syntax error: unexpected end of
file

 *** pin found no ARCHIVES_"".gz file in /var/lib/pin/



The problem is this line:

[ -z ${USED_VERSION} ] && USED_VERSION="`grep VERSION_ID /etc/os-release | cut
-f3 -d "\""`"

It would work with "cut -f2", but not with -f3.
Also, all the quotes trigger the bash errors quoted above.
And finally, the message 'pin found no ARCHIVES_"15.0" file' has superfluous
quotes ;-)

I just submitted SR 668206 - please review it ;-) (I only verified that
detecting the version number now works, but didn't do a full test ;-)

Initially I wanted to recommend to forward the Tumbleweed version of pin to
Leap (which has this issue fixed in another way) - but sadly it's just broken
in another way ;-) - see SR 668208 for the fix (and, after accepting it,
consider to forward the latest pin to Leap 15.1)


You are receiving this mail because: