Skip to content

Commit 82244f0

Browse files
committed
git-extra(i686): remove libunistring workaround
After git-for-windows/MSYS2-packages#219 the extra file is no longer needed. Signed-off-by: Jeremy Drake <[email protected]>
1 parent 9518f2c commit 82244f0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

git-extra/git-extra.install.in

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)