File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -298,11 +298,12 @@ test -d "$TMPDIR" || test ! -d "$TMP" || {\
298298 ! grep -q '"[CD]:/' /etc/xml/catalog ||
299299 sed -i -e 's|"[CD]:/[^"]*/usr/|"/usr/|g' /etc/xml/catalog
300300
301- # Work around an outdated i686 gnupg/gnutls build that depends on a hence-updated libunistring
302- if test i686 = $arch -a ! -e /usr/bin/msys-unistring-2.dll -a -e /usr/bin/msys-unistring-5.dll &&
303- grep msys-unistring-2 /usr/bin/msys-gnutls-30.dll 2>&1 >/dev/null
301+ # Remove work around for an outdated i686 gnupg/gnutls build that depended on a hence-updated libunistring
302+ if test i686 = $arch -a -e /usr/bin/msys-unistring-2.dll &&
303+ ! pacman -Qoq /usr/bin/msys-unistring-2.dll >/dev/null 2>&1 &&
304+ ! grep -q msys-unistring-2 /usr/bin/msys-gnutls-30.dll 2>&1 >/dev/null
304305 then
305- cp /usr/bin/msys-unistring-5.dll /usr/bin/msys-unistring-2.dll
306+ rm /usr/bin/msys-unistring-2.dll
306307 fi
307308}
308309
You can’t perform that action at this time.
0 commit comments