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 @@ -264,11 +264,12 @@ test -d "$TMPDIR" || test ! -d "$TMP" || {\
264264 ! grep -q '"[CD]:/' /etc/xml/catalog ||
265265 sed -i -e 's|"[CD]:/[^"]*/usr/|"/usr/|g' /etc/xml/catalog
266266
267- # Work around an outdated i686 gnupg/gnutls build that depends on a hence-updated libunistring
268- if test i686 = $arch -a ! -e /usr/bin/msys-unistring-2.dll -a -e /usr/bin/msys-unistring-5.dll &&
269- grep msys-unistring-2 /usr/bin/msys-gnutls-30.dll 2>&1 >/dev/null
267+ # Remove work around for an outdated i686 gnupg/gnutls build that depended on a hence-updated libunistring
268+ if test i686 = $arch -a -e /usr/bin/msys-unistring-2.dll &&
269+ ! pacman -Qoq /usr/bin/msys-unistring-2.dll >/dev/null 2>&1 &&
270+ ! grep -q msys-unistring-2 /usr/bin/msys-gnutls-30.dll 2>&1 >/dev/null
270271 then
271- cp /usr/bin/msys-unistring-5.dll /usr/bin/msys-unistring-2.dll
272+ rm /usr/bin/msys-unistring-2.dll
272273 fi
273274}
274275
You can’t perform that action at this time.
0 commit comments