diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/xapian-bindings/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/community/xapian-bindings/APKBUILD b/community/xapian-bindings/APKBUILD index a159900086..b68fe99578 100644 --- a/community/xapian-bindings/APKBUILD +++ b/community/xapian-bindings/APKBUILD @@ -77,7 +77,13 @@ php7() { "$subpkgdir"/etc/php7/conf.d || return 1 echo ';extension=xapian.so' > "$subpkgdir/etc/php7/conf.d/xapian.ini" \ || return 1 - mv "$pkgdir"/usr/lib/php7/modules/* "$subpkgdir"/usr/lib/php7/modules/ + + if [ -d "$pkgdir"/usr/lib/php7/modules ]; then + mv "$pkgdir"/usr/lib/php7/modules/* "$subpkgdir"/usr/lib/php7/modules/ + else + mv "$pkgdir"/usr/lib/php7/* "$subpkgdir"/usr/lib/php7/ + fi + # mv "$pkgdir"/usr/share/php7 "$subpkgdir"/usr/share/ } |