aboutsummaryrefslogtreecommitdiff
path: root/msys2-configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'msys2-configure.sh')
-rwxr-xr-xmsys2-configure.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/msys2-configure.sh b/msys2-configure.sh
index 2f43d0d..7b7724e 100755
--- a/msys2-configure.sh
+++ b/msys2-configure.sh
@@ -75,10 +75,15 @@ extract() {
--exclude '*/share/man' --exclude '*/share/doc'
done < db.want
- bsdtar -xf exiftool.tar.gz
- mv Image-ExifTool-*/exiftool bin
- mv Image-ExifTool-*/lib/* lib/perl5/site_perl
- rm -rf Image-ExifTool-*
+ # Don't require Perl, which may not exist anymore on i686:
+ # https://github.com/msys2/MINGW-packages/pull/20085
+ if [ -d lib/perl5 ]
+ then
+ bsdtar -xf exiftool.tar.gz
+ mv Image-ExifTool-*/exiftool bin
+ mv Image-ExifTool-*/lib/* lib/perl5/site_perl
+ rm -rf Image-ExifTool-*
+ fi
}
configure() {